Skip to content

Commit

Permalink
fixed NPE in HBaseSail
Browse files Browse the repository at this point in the history
  • Loading branch information
asotona committed Sep 5, 2019
1 parent 0855ad1 commit 76a8eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sail/src/main/java/com/msd/gin/halyard/sail/HBaseSail.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public void shutdown() throws QueryEvaluationException {
@Override
public void shutDown() throws SailException { //release resources
try {
table.close(); //close the HTable
if (table != null) table.close(); //close the HTable
table = null;
} catch (IOException ex) {
throw new SailException(ex);
Expand Down

0 comments on commit 76a8eb1

Please sign in to comment.