Sonar Fix: Pending.java 16/96116/1
authorArundathi Patil <arundpil@in.ibm.com>
Sat, 21 Sep 2019 15:50:16 +0000 (21:20 +0530)
committerArundathi Patil <arundpil@in.ibm.com>
Sat, 21 Sep 2019 15:50:21 +0000 (21:20 +0530)
Fixed sonar issues in this file

Issue-ID: AAF-968
Change-Id: I11ce11c1480a4be9283276b13da7e02d0dd06e56
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/Pending.java

index eed6733..9a66698 100644 (file)
@@ -3,6 +3,8 @@
  * org.onap.aaf
  * ===========================================================================
  * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+ *
+ * Modifications Copyright (C) 2019 IBM.
  * ===========================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -36,12 +38,12 @@ public class Pending {
     
     /**
      * Use this constructor to indicate when last Notified
-     * @param last_notified
+     * @param lastNotified
      */
-    public Pending(Date last_notified) {
+    public Pending(Date lastNotified) {
         qty = 1;
-        hasNew = last_notified==null;
-        earliest = last_notified;
+        hasNew = lastNotified==null;
+        earliest = lastNotified;
     }
 
     /**