File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
operator/src/main/java/oracle/kubernetes/weblogic/domain/model Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 6
6
import com .google .gson .annotations .SerializedName ;
7
7
import oracle .kubernetes .json .Obsoleteable ;
8
8
import oracle .kubernetes .operator .helpers .EventHelper ;
9
+ import org .apache .commons .lang3 .ObjectUtils ;
9
10
10
11
import static oracle .kubernetes .operator .helpers .EventHelper .EventItem .DOMAIN_AVAILABLE ;
11
12
import static oracle .kubernetes .operator .helpers .EventHelper .EventItem .DOMAIN_COMPLETE ;
@@ -21,7 +22,7 @@ public enum DomainConditionType implements Obsoleteable {
21
22
@ Override
22
23
int compare (DomainCondition thisCondition , DomainCondition thatCondition ) {
23
24
if (compareUsingSeverities (thisCondition , thatCondition )) {
24
- return thisCondition .getSeverity (). compareTo ( thatCondition .getSeverity ());
25
+ return ObjectUtils . compare ( thisCondition .getSeverity (), thatCondition .getSeverity ());
25
26
} else {
26
27
return super .compare (thisCondition , thatCondition );
27
28
}
You can’t perform that action at this time.
0 commit comments