Fix all blocker sonar issues and some checkstyle
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / util / AAIUtils.java
index 390e6d9..67fea84 100644 (file)
@@ -55,7 +55,7 @@ public class AAIUtils {
      */
     public static String genDate() {
         Date date = new Date();
-        DateFormat formatter = new SimpleDateFormat("YYMMdd-HH:mm:ss:SSS");
+        DateFormat formatter = new SimpleDateFormat("yyMMdd-HH:mm:ss:SSS");
         formatter.setTimeZone(TimeZone.getTimeZone("GMT"));
         return formatter.format(date);
     }