summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 ed8b9fd..a848bd2 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
+}