-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
False
-
-
False
From line 92:
@PreDestroy
void close() {
try {
client.close();
}
catch (Exception e) {
LOGGER.warn("Exception while closing Jedis: {}", client, e);
}
finally {
client = null;
}
}
If statement should be added before trying to close the client to avoid a redundant warning.