Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Clean up Sonar results 3
[aaf/authz.git]
/
auth
/
auth-cmd
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
auth
/
cmd
/
Cmd.java
diff --git
a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Cmd.java
b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Cmd.java
index
9ee321e
..
896cbb3
100644
(file)
--- a/
auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Cmd.java
+++ b/
auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/Cmd.java
@@
-56,7
+56,8
@@
import aaf.v2_0.Request;
public abstract class Cmd {
public abstract class Cmd {
- private static final DateFormat dateFmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS");
+ // Sonar claims DateFormat is not thread safe. Leave as Instance Variable.
+ private final DateFormat dateFmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:SSS");
protected static final String BLANK = "";
protected static final String COMMA = ","; // for use in splits
protected static final String BLANK = "";
protected static final String COMMA = ","; // for use in splits