summaryrefslogtreecommitdiffstats
path: root/auth
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-11-28 07:36:11 -0600
committerInstrumental <jonathan.gathman@att.com>2018-11-28 07:36:14 -0600
commitdfe29e3ea4028ff04f73606f46404baf63f81f5b (patch)
tree0ba4a430dec02f4762c5998b34e401bc57566724 /auth
parenta6baa197a8a0333bc90e03a135441cacb7a133b9 (diff)
Possible NP
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.java4
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();
+ }
}
}