Merge "Renaming openecomp to onap"
authorSteven Blimkie <Steven.Blimkie@amdocs.com>
Thu, 12 Oct 2017 15:08:25 +0000 (15:08 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 12 Oct 2017 15:08:25 +0000 (15:08 +0000)
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
+}