summaryrefslogtreecommitdiffstats
path: root/auth
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-09-21 21:20:16 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-09-21 21:20:21 +0530
commit7f12f02e99254b462c6d25c4f9d2723b917f8e5e (patch)
tree8f52290ae5633fbd52d5e5de09f4e7ab5b35d009 /auth
parent6b7b912348ae60b2217af57749ac00a67080bf12 (diff)
Sonar Fix: Pending.java
Fixed sonar issues in this file Issue-ID: AAF-968 Change-Id: I11ce11c1480a4be9283276b13da7e02d0dd06e56 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'auth')
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/Pending.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/Pending.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/Pending.java
index eed67338..9a666981 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/Pending.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/approvalsets/Pending.java
@@ -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;
}
/**