Skip to content

Commit e3f1c7a

Browse files
committed
Added line in DBAccess to remove the ThreadLocal after we're done with it; added Comparator to Sample so that we can add null parents; wrote POST test for SampleResource with null and not-null parent check; re-did the spacing in SampleIDResourceTest
Former-commit-id: d421cec
1 parent ffc1e33 commit e3f1c7a

File tree

5 files changed

+982
-840
lines changed

5 files changed

+982
-840
lines changed

seqware-common/src/main/java/net/sourceforge/seqware/common/factory/DBAccess.java

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ public synchronized static void close() {
105105
metadataDBWrapper.set(null);
106106
//db = null;
107107
}
108+
metadataDBWrapper.remove();
108109
}
109110

110111
private DBAccess() {

0 commit comments

Comments
 (0)