From 7f12f02e99254b462c6d25c4f9d2723b917f8e5e Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Sat, 21 Sep 2019 21:20:16 +0530 Subject: [PATCH] Sonar Fix: Pending.java Fixed sonar issues in this file Issue-ID: AAF-968 Change-Id: I11ce11c1480a4be9283276b13da7e02d0dd06e56 Signed-off-by: Arundathi Patil --- .../java/org/onap/aaf/auth/batch/approvalsets/Pending.java | 10 ++++++---- 1 file 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; } /** -- 2.16.6