Refactor tidy on DefaultTransactionThreadLocal (#1715)

- remove unused methods
- use clear() rather than set(null)
This commit is contained in:
Rob Bygrave
2019-05-18 12:32:17 +12:00
committed by GitHub
parent 9326c9c79e
commit 201958f38c
2 changed files with 6 additions and 55 deletions
@@ -70,7 +70,7 @@ public class ScopedTransaction extends SpiTransactionProxy {
private void clearScopeOnce() {
if (!scopeCleared) {
manager.set(null);
manager.clear();
scopeCleared = true;
}
}