aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/aai/datarouter/entity/OxmEntityDescriptor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/aai/datarouter/entity/OxmEntityDescriptor.java b/src/main/java/org/onap/aai/datarouter/entity/OxmEntityDescriptor.java
index 54bd081..ce83b15 100644
--- a/src/main/java/org/onap/aai/datarouter/entity/OxmEntityDescriptor.java
+++ b/src/main/java/org/onap/aai/datarouter/entity/OxmEntityDescriptor.java
@@ -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
+}