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:41:06 -0600 |
commit | 1b4aa9db3568f2e9af93ee4ad63482fb33f6d144 (patch) | |
tree | c51c9b763bbbc8ea0bf067c9e3abfbef158e5f41 /auth | |
parent | 71dee0333854f9ca9da53c5beff4c9a337cf9af9 (diff) |
Possible NPcasablanca
Issue-ID: AAF-641
Change-Id: I54b3158091882671173638bc11879fd52512c07c
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth')
-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(); + } } } |