From 6f674e900985ef640c79dbb31034dc85ca447d93 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Wed, 7 Aug 2019 16:56:49 +0530 Subject: 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 --- .../src/main/java/org/onap/vid/asdc/parser/ToscaParserImpl2.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vid-app-common/src/main/java') 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); } -- cgit 1.2.3-korg