Merge "Shift String literal to left-hand side of equals"
authorSeshu Kumar M <seshu.kumar.m@huawei.com>
Sat, 20 Apr 2019 06:32:26 +0000 (06:32 +0000)
committerGerrit Code Review <gerrit@onap.org>
Sat, 20 Apr 2019 06:32:26 +0000 (06:32 +0000)
common/src/main/java/org/onap/so/client/sdno/beans/Input.java
common/src/main/java/org/onap/so/client/sdno/beans/RequestHdCustom.java
common/src/main/java/org/onap/so/client/sdno/beans/RequestHealthDiagnostic.java
common/src/main/java/org/onap/so/client/sdno/beans/ResultInfo.java
common/src/main/java/org/onap/so/client/sdno/beans/SDNO.java
common/src/main/java/org/onap/so/openpojo/rules/HasAnnotationMatcher.java
common/src/main/java/org/onap/so/openpojo/rules/HasAnnotationPropertyWithValueMatcher.java
version.properties

index ea537bb..c8122c0 100644 (file)
@@ -40,7 +40,7 @@ public class Input implements Serializable {
     private RequestHdCustom requestHdCustom;
 
     @JsonIgnore
-    private Map<String, Object> additionalProperties = new HashMap<String, Object>();
+    private Map<String, Object> additionalProperties = new HashMap<>();
     private final static long serialVersionUID = 7155546785389227528L;
 
     @JsonProperty("request-healthdiagnostic")
index c08d1ef..485f646 100644 (file)
@@ -49,7 +49,7 @@ public class RequestHdCustom implements Serializable {
     @JsonProperty("send-detailed-cmd-response")
     private String sendDetailedCmdResponse = "false";
     @JsonProperty("aai-param-list")
-    private List<AAIParamList> aaiParamList = new ArrayList<AAIParamList>();
+    private List<AAIParamList> aaiParamList = new ArrayList<>();
 
     /**
      * No args constructor for use in serialization
index c05b470..b1b75ab 100644 (file)
@@ -52,8 +52,8 @@ public class RequestHealthDiagnostic implements Serializable {
     @JsonProperty("health-diagnostic-code")
     private String healthDiagnosticCode;
     @JsonIgnore
-    private Map<String, Object> additionalProperties = new HashMap<String, Object>();
-    private final static long serialVersionUID = 1166788526178388021L;
+    private Map<String, Object> additionalProperties = new HashMap<>();
+    private static final long serialVersionUID = 1166788526178388021L;
 
     @JsonProperty("request-client-name")
     public String getRequestClientName() {
index 93826c7..8b84cf6 100644 (file)
@@ -44,7 +44,7 @@ public class ResultInfo {
     @JsonProperty("status")
     private String status;
     @JsonIgnore
-    private Map<String, Object> additionalProperties = new HashMap<String, Object>();
+    private Map<String, Object> additionalProperties = new HashMap<>();
 
     @JsonProperty("client-name")
     public String getClientName() {
index 09f408c..46e2c1d 100644 (file)
@@ -43,8 +43,8 @@ public class SDNO implements Serializable {
     @JsonProperty("body")
     private Body body;
     @JsonIgnore
-    private Map<String, Object> additionalProperties = new HashMap<String, Object>();
-    private final static long serialVersionUID = -5303297382564282650L;
+    private Map<String, Object> additionalProperties = new HashMap<>();
+    private static final long serialVersionUID = -5303297382564282650L;
 
     @JsonProperty("operation")
     public String getOperation() {
index 9062f60..42dda85 100644 (file)
@@ -64,6 +64,6 @@ public class HasAnnotationMatcher<T extends PojoField> extends TypeSafeDiagnosin
 
     public static <T extends PojoField> Matcher<T> hasAnnotation(final Class<? extends Annotation> annotationType,
             final Matcher<? super T> annotationMatcher) {
-        return new HasAnnotationMatcher<T>(annotationType, annotationMatcher);
+        return new HasAnnotationMatcher<>(annotationType, annotationMatcher);
     }
 }
index 8a47299..a55113b 100644 (file)
@@ -78,6 +78,6 @@ public class HasAnnotationPropertyWithValueMatcher<T extends PojoField> extends
 
     public static <T extends PojoField> Matcher<T> hasAnnotationPropertyWithValue(Class<? extends Annotation> clazz,
             String attribute, final Matcher<?> annotationMatcher) {
-        return new HasAnnotationPropertyWithValueMatcher<T>(clazz, attribute, annotationMatcher);
+        return new HasAnnotationPropertyWithValueMatcher<>(clazz, attribute, annotationMatcher);
     }
 }
index 668657e..99af342 100644 (file)
@@ -3,7 +3,7 @@
 # because they are used in Jenkins, whose plug-in doesn't support
 
 major=1
-minor=4
+minor=5
 patch=0
 
 base_version=${major}.${minor}.${patch}