summaryrefslogtreecommitdiffstats
path: root/cadi
diff options
context:
space:
mode:
authorThugutla sailakshmi <tsaila10@in.ibm.com>2019-08-13 14:17:52 +0530
committerJonathan Gathman <jonathan.gathman@att.com>2019-09-17 08:29:10 +0000
commite7a7a34829600a24e5ee87cdc94d5a49ccc15c0f (patch)
tree644ca111a503a3e9cc07b37a8e64ebc79661ead9 /cadi
parent4a5d0dbb09abbc0fad64a9c7ea75be9274544871 (diff)
move the method to comply with java code conventions
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>
Diffstat (limited to 'cadi')
-rw-r--r--cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java b/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java
index 1bf0230e..92756d8c 100644
--- a/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java
+++ b/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java
@@ -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";