Refactor tidy on DefaultTransactionThreadLocal (#1715)

- remove unused methods
- use clear() rather than set(null)
This commit is contained in:
Rob Bygrave authored and GitHub committed 2019-05-18 12:32:17 +12:00
1 parent 9326c9c79e
commit 201958f38c
2 files changed
+6 -55

No files matched your search

@@ -70,7 +70,7 @@ public class ScopedTransaction extends SpiTransactionProxy {
private void clearScopeOnce() {
if (!scopeCleared) {
manager.set(null);
manager.clear();
scopeCleared = true;
}
}