mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-08-01 02:15:58 -04:00
Fixed JUnit errors in odb test
This commit is contained in:
@@ -43,8 +43,8 @@ public class TestObjectDatabase {
|
||||
private static final File file = new File("test_odb.db");
|
||||
|
||||
@AfterClass
|
||||
private void cleanup() {
|
||||
if (!file.delete())
|
||||
public static void cleanup() {
|
||||
if (file.exists() && !file.delete())
|
||||
System.err.println("Failed to delete file: " + file);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user