move the method to comply with java code conventions 95/93395/3
authorThugutla sailakshmi <tsaila10@in.ibm.com>
Tue, 13 Aug 2019 08:47:52 +0000 (14:17 +0530)
committerJonathan Gathman <jonathan.gathman@att.com>
Tue, 17 Sep 2019 08:29:10 +0000 (08:29 +0000)
move the method to comply with java code conventions

Issue-ID: AAF-876
Change-Id: Iea39c18474eeb03bd890bc6e2a627aab2aee521a
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java

index 1bf0230..92756d8 100644 (file)
@@ -48,14 +48,7 @@ public class PropAccess implements Access {
     // Sonar says cannot be static... it's ok.  not too many PropAccesses created.
     private final SimpleDateFormat iso8601 = newISO8601();
     private Symm symm;
-            
-    public static SimpleDateFormat newISO8601() {
-        return new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
-    }
-
     public static final Level DEFAULT = Level.AUDIT;
-    
-    
     private int level;
     private Properties props;
     private List<String> recursionProtection = null;
@@ -110,6 +103,10 @@ public class PropAccess implements Access {
         init(nprops);
     }
     
+    public static SimpleDateFormat newISO8601() {
+        return new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
+    }
+
     protected synchronized void init(Properties p) {
         // Make sure these two are set before any changes in Logging
         name = "cadi";