Commit 82ae2eb36fc49568bc88628dd0d59ea9589e93cb
1 parent
f54dc932
findHighestAlarmStatus: code cleaning (i believe that last)
Showing
1 changed file
with
0 additions
and
4 deletions
... | ... | @@ -327,10 +327,6 @@ public class BaseAlarmService extends AbstractEntityService implements AlarmServ |
327 | 327 | return alarmSeverities.stream().min(AlarmSeverity::compareTo).orElse(null); |
328 | 328 | } |
329 | 329 | |
330 | - private AlarmDataQuery toQuery(AlarmDataPageLink pageLink) { | |
331 | - return new AlarmDataQuery(new DeviceTypeFilter(), pageLink, null, null, null, Collections.EMPTY_LIST); | |
332 | - } | |
333 | - | |
334 | 330 | private void deleteRelation(TenantId tenantId, EntityRelation alarmRelation) { |
335 | 331 | log.debug("Deleting Alarm relation: {}", alarmRelation); |
336 | 332 | relationService.deleteRelation(tenantId, alarmRelation); | ... | ... |