diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-12-06 14:08:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-12-06 14:08:23 +0000 |
commit | f2afbf26813e09b464d48281a52c8c717536b6ec (patch) | |
tree | 98f0f49b4366fb7cb81a52be62f0dda086f1d817 /client/client-editor | |
parent | 93fa9642390a61d8db36e6e68795137b4895b021 (diff) | |
parent | 7a0a44eac6167cfeff935c39f2c3f20d3a893c3e (diff) |
Merge "Minor changes for new Eclipse checkstyle checks"
Diffstat (limited to 'client/client-editor')
-rw-r--r-- | client/client-editor/src/main/java/org/onap/policy/apex/client/editor/rest/handling/RestUtils.java | 12 |
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 |