aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/src/main/java/org/openecomp/mso/logger/MsoLoggingServlet.java3
-rw-r--r--common/src/main/java/org/openecomp/mso/properties/MsoJsonProperties.java4
2 files changed, 4 insertions, 3 deletions
diff --git a/common/src/main/java/org/openecomp/mso/logger/MsoLoggingServlet.java b/common/src/main/java/org/openecomp/mso/logger/MsoLoggingServlet.java
index 5687775048..dd42efbfda 100644
--- a/common/src/main/java/org/openecomp/mso/logger/MsoLoggingServlet.java
+++ b/common/src/main/java/org/openecomp/mso/logger/MsoLoggingServlet.java
@@ -95,7 +95,8 @@ public class MsoLoggingServlet {
List <Logger> loggerList = context.getLoggerList();
for (Logger logger:loggerList) {
//if (logger.getLevel() != null) {
- response.append (logger.getName () + ":" + logger.getLevel () + " (" + logger.getEffectiveLevel () + ")\n");
+ response.append(logger.getName()).append(":").append(logger.getLevel()).append(" (")
+ .append(logger.getEffectiveLevel()).append(")\n");
//}
}
return Response.status (200).entity (response).build ();
diff --git a/common/src/main/java/org/openecomp/mso/properties/MsoJsonProperties.java b/common/src/main/java/org/openecomp/mso/properties/MsoJsonProperties.java
index cf69e1c5a7..8da155fe08 100644
--- a/common/src/main/java/org/openecomp/mso/properties/MsoJsonProperties.java
+++ b/common/src/main/java/org/openecomp/mso/properties/MsoJsonProperties.java
@@ -160,8 +160,8 @@ public class MsoJsonProperties extends AbstractMsoProperties {
@Override
public String toString() {
StringBuilder response = new StringBuilder();
- response.append("Config file " + propertiesFileName + "(Timer:" + automaticRefreshInMinutes + "mins):"
- + System.getProperty("line.separator"));
+ response.append("Config file ").append(propertiesFileName).append("(Timer:").append(automaticRefreshInMinutes)
+ .append("mins):").append(System.getProperty("line.separator"));
response.append(this.jsonRootNode.toString());
response.append(System.getProperty("line.separator"));
response.append(System.getProperty("line.separator"));