diff --git a/source/rhoas/src/main/java/com/openshift/cloud/controllers/AbstractCloudServicesController.java b/source/rhoas/src/main/java/com/openshift/cloud/controllers/AbstractCloudServicesController.java index 3340b408..cd7a93b2 100644 --- a/source/rhoas/src/main/java/com/openshift/cloud/controllers/AbstractCloudServicesController.java +++ b/source/rhoas/src/main/java/com/openshift/cloud/controllers/AbstractCloudServicesController.java @@ -68,7 +68,7 @@ private boolean shouldProcess(T resource) { List conditions = getConditions(resource); - if (conditions == null | conditions.isEmpty()) { + if (conditions == null || conditions.isEmpty()) { return true; } @@ -80,13 +80,11 @@ private boolean shouldProcess(T resource) { } if (Status.True.equals(finishedCondition.getStatus())) { - //everything is up to date and the resource had finished, then skip + // everything is up to date and the resource had finished, then skip return false; } else { return true; } - - } private List getConditions(T resource) {