diff options
author | Instrumental <jonathan.gathman@att.com> | 2018-11-28 07:36:11 -0600 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2018-11-28 07:36:14 -0600 |
commit | dfe29e3ea4028ff04f73606f46404baf63f81f5b (patch) | |
tree | 0ba4a430dec02f4762c5998b34e401bc57566724 | |
parent | a6baa197a8a0333bc90e03a135441cacb7a133b9 (diff) |
Possible NP
Issue-ID: AAF-641
Change-Id: I54b3158091882671173638bc11879fd52512c07c
Signed-off-by: Instrumental <jonathan.gathman@att.com>
-rw-r--r-- | auth/auth-batch/src/main/java/org/onap/aaf/auth/reports/Expiring.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/reports/Expiring.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/reports/Expiring.java index 6974a5db..289da58e 100644 --- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/reports/Expiring.java +++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/reports/Expiring.java @@ -166,7 +166,9 @@ public class Expiring extends Batch { } } } finally { - expOwner.close(); + if(expOwner!=null) { + expOwner.close(); + } } } |