summaryrefslogtreecommitdiffstats
path: root/misc/log4j/src
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-10-15 08:19:50 -0500
committerInstrumental <jonathan.gathman@att.com>2019-10-15 08:35:35 -0500
commit1296352d8eafee57f982a4342ad79ada4aa56d28 (patch)
tree355cdb89d85530a861319f892b0f24236e6adc50 /misc/log4j/src
parentbdce7667a6e272e2fa32e298d957a0d9090c5bc9 (diff)
Sonar Fixes, Formatting
Issue-ID: AAF-1019 Change-Id: Ica49d9e7323aad9622ff9d95cc21b87430c22c54 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'misc/log4j/src')
-rw-r--r--misc/log4j/src/test/java/org/onap/aaf/misc/env/log4j/JU_LogFileNamerTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/log4j/src/test/java/org/onap/aaf/misc/env/log4j/JU_LogFileNamerTest.java b/misc/log4j/src/test/java/org/onap/aaf/misc/env/log4j/JU_LogFileNamerTest.java
index 1aaeb7fb..1aca545e 100644
--- a/misc/log4j/src/test/java/org/onap/aaf/misc/env/log4j/JU_LogFileNamerTest.java
+++ b/misc/log4j/src/test/java/org/onap/aaf/misc/env/log4j/JU_LogFileNamerTest.java
@@ -57,11 +57,11 @@ public class JU_LogFileNamerTest {
try {
LogFileNamer logFileNamer = new LogFileNamer(dir.getCanonicalPath(), "log");
assertEquals(logFileNamer, logFileNamer.noPID());
-
+
logFileNamer.setAppender(name);
assertEquals(System.getProperty("LOG4J_FILENAME_Append"),
dir.getCanonicalFile() + File.separator + "log-" + name + ".log");
-
+
logFileNamer.setAppender(name);
assertEquals(System.getProperty("LOG4J_FILENAME_Append"),
dir.getCanonicalFile() + File.separator + "log-" + name + ".0.log");
@@ -76,11 +76,11 @@ public class JU_LogFileNamerTest {
try {
LogFileNamer logFileNamer = new LogFileNamer(dir.getCanonicalPath(), "");
assertEquals(logFileNamer, logFileNamer.noPID());
-
+
logFileNamer.setAppender(name);
assertEquals(System.getProperty("LOG4J_FILENAME_Different"),
dir.getCanonicalPath() + File.separator + name + ".log");
-
+
logFileNamer.setAppender(name);
assertEquals(System.getProperty("LOG4J_FILENAME_Different"),
dir.getCanonicalPath() + File.separator + name + ".0.log");