Merge "Renaming openecomp to onap"
[aai/data-router.git] / src / main / java / org / onap / aai / datarouter / entity / OxmEntityDescriptor.java
index 54bd081..ce83b15 100644 (file)
@@ -73,7 +73,7 @@ public class OxmEntityDescriptor {
              return false;
           }
           
-          if ( this.searchableAttributes.size() > 0 ) {
+          if ( !this.searchableAttributes.isEmpty() ) {
              return true;
           }
           
@@ -121,4 +121,4 @@ public class OxmEntityDescriptor {
         + ", suggestableAttributes=" + suggestableAttributes + ", isSuggestableEntity="
         + isSuggestableEntity + "]";
   }
-}
\ No newline at end of file
+}