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 66import com .google .gson .annotations .SerializedName ;
77import oracle .kubernetes .json .Obsoleteable ;
88import oracle .kubernetes .operator .helpers .EventHelper ;
9+ import org .apache .commons .lang3 .ObjectUtils ;
910
1011import static oracle .kubernetes .operator .helpers .EventHelper .EventItem .DOMAIN_AVAILABLE ;
1112import static oracle .kubernetes .operator .helpers .EventHelper .EventItem .DOMAIN_COMPLETE ;
@@ -21,7 +22,7 @@ public enum DomainConditionType implements Obsoleteable {
2122 @ Override
2223 int compare (DomainCondition thisCondition , DomainCondition thatCondition ) {
2324 if (compareUsingSeverities (thisCondition , thatCondition )) {
24- return thisCondition .getSeverity (). compareTo ( thatCondition .getSeverity ());
25+ return ObjectUtils . compare ( thisCondition .getSeverity (), thatCondition .getSeverity ());
2526 } else {
2627 return super .compare (thisCondition , thatCondition );
2728 }
You can’t perform that action at this time.
0 commit comments