No effective change - suppress warnings, simplify if

This commit is contained in:
Robin Bygrave committed 2015-08-01 21:16:03 +12:00
1 parent 6e5e5fb666
commit 0d2615522f
15 files changed
+51 -60

No files matched your search

@@ -124,7 +124,8 @@ class BusyConnectionBuffer {
if (slots[i] != null){
//tmp.add(slots[i]);
PooledConnection pc = slots[i];
if (pc.isLongRunning() || pc.getLastUsedTime() > olderThanTime) {
//noinspection StatementWithEmptyBody
if (pc.isLongRunning() || pc.getLastUsedTime() > olderThanTime) {
// PooledConnection has been used recently or
// expected to be longRunning so not closing...
} else {