aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-08-07 16:56:49 +0530
committeranushadasari <danush10@in.ibm.com>2019-08-07 16:57:07 +0530
commit6f674e900985ef640c79dbb31034dc85ca447d93 (patch)
treebd1b9cf95b1f948adf6fadb80daaafa1380c71a3 /vid-app-common/src
parent12b7509555b1932b90ed7889d62b100557b603eb (diff)
At most one statement is allowed per line
At most one statement is allowed per line, but 2 statements were found on this line. For better readability, do not put more than one statement on a single line. Issue-ID: VID-562 Change-Id: Ibdae3413af96d49ce7a39e53d3af611e237cc16b Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'vid-app-common/src')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl2.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl2.java b/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl2.java
index 735ba437c..231ed4ad1 100644
--- a/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl2.java
+++ b/vid-app-common/src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl2.java
@@ -511,7 +511,9 @@ public class ToscaParserImpl2 {
final Object values = property.getValue();
final String vfModuleLabel = group.getProperties().getVfModuleLabel();
if ( values instanceof List ) {
- if ( listContainsAsString((List) values, vfModuleLabel) ) return true;
+ if ( listContainsAsString((List) values, vfModuleLabel) ) {
+ return true;
+ }
} else {
return getPropertyValueAsString(property).equals(vfModuleLabel);
}