aboutsummaryrefslogtreecommitdiffstats
path: root/client/client-editor/src/main
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2019-12-04 09:20:04 +0000
committerliamfallon <liam.fallon@est.tech>2019-12-04 17:14:11 +0000
commit7a0a44eac6167cfeff935c39f2c3f20d3a893c3e (patch)
tree5874e4b8f0e4b5ce8cc222912833029729fe4ed3 /client/client-editor/src/main
parent9253f81d14a5217479ca8e59efb198eaa32ec9f0 (diff)
Minor changes for new Eclipse checkstyle checks
The laest Eclipse checkstyle version 8.26.0 does more thorough checking and identified a number of small issues in the apex-pdp codebase. This review fixes those issues. Issue-ID: POLICY-1913 Change-Id: I30ba25e3e425c6d54c77f925e8da3ab841a8357c Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'client/client-editor/src/main')
-rw-r--r--client/client-editor/src/main/java/org/onap/policy/apex/client/editor/rest/handling/RestUtils.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/client-editor/src/main/java/org/onap/policy/apex/client/editor/rest/handling/RestUtils.java b/client/client-editor/src/main/java/org/onap/policy/apex/client/editor/rest/handling/RestUtils.java
index 5cb7af840..738f33cb1 100644
--- a/client/client-editor/src/main/java/org/onap/policy/apex/client/editor/rest/handling/RestUtils.java
+++ b/client/client-editor/src/main/java/org/onap/policy/apex/client/editor/rest/handling/RestUtils.java
@@ -50,7 +50,7 @@ import org.onap.policy.apex.model.basicmodel.concepts.AxConcept;
*/
public abstract class RestUtils {
// Regular expressions for checking input types
- private static final String XML_INPUT_TYPE_REGEXP = "^\\s*<\\?xml.*>\\s*"; //starts with <?xml...>
+ private static final String XML_INPUT_TYPE_REGEXP = "^\\s*<\\?xml.*>\\s*"; // starts with <?xml...>
/**
* starts with some kind of bracket [ or ( or {, then has something, then has bracket.
*/
@@ -59,7 +59,9 @@ public abstract class RestUtils {
/**
* Constructor, block inheritance.
*/
- private RestUtils() {}
+ private RestUtils() {
+ // Private constructor to block subclassing
+ }
/**
* HTTP POST requests can't send nulls so we interpret blanks as nulls.
@@ -103,8 +105,7 @@ public abstract class RestUtils {
}
/**
- * Apex HTTP PUT requests send simple single level JSON strings, this method reads those strings
- * into a map.
+ * Apex HTTP PUT requests send simple single level JSON strings, this method reads those strings into a map.
*
* @param jsonString the incoming JSON string
* @return a map of the JSON strings
@@ -123,8 +124,7 @@ public abstract class RestUtils {
}
/**
- * Apex HTTP PUT requests send simple single level JSON strings, this method reads those strings
- * into a map.
+ * Apex HTTP PUT requests send simple single level JSON strings, this method reads those strings into a map.
*
* @param <C> the generic type
* @param jsonString the incoming JSON string