SEBSERV-441 fix
This commit is contained in:
parent
e949d48710
commit
540bb7290c
1 changed files with 1 additions and 8 deletions
|
@ -69,16 +69,9 @@ public class ColorData {
|
||||||
switch (entry.getStatus()) {
|
switch (entry.getStatus()) {
|
||||||
case CONNECTION_REQUESTED:
|
case CONNECTION_REQUESTED:
|
||||||
case AUTHENTICATED: {
|
case AUTHENTICATED: {
|
||||||
if (entry.incidentFlag() > 0) {
|
return 0;
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
case ACTIVE: {
|
case ACTIVE: {
|
||||||
final int incidentFlag = entry.incidentFlag();
|
|
||||||
if (incidentFlag > 0) {
|
|
||||||
return -incidentFlag;
|
|
||||||
}
|
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
case CLOSED:
|
case CLOSED:
|
||||||
|
|
Loading…
Reference in a new issue