Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
binwiederhier committed Aug 11, 2014
1 parent 1da0e71 commit f698d3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Expand Up @@ -65,7 +65,6 @@ public class DatabaseXmlParseHandler extends DefaultHandler {
private VectorClock versionTo;
private DatabaseReadType readType;
private DatabaseVersionType filterType;
private Map<FileHistoryId, FileVersion> ignoredMostRecentFileVersions;

private String elementPath;
private DatabaseVersion databaseVersion;
Expand All @@ -84,7 +83,6 @@ public DatabaseXmlParseHandler(MemoryDatabase database, VectorClock fromVersion,
this.versionTo = toVersion;
this.readType = readType;
this.filterType = filterType;
this.ignoredMostRecentFileVersions = ignoredMostRecentFileVersions;
}

@Override
Expand Down
Expand Up @@ -163,15 +163,13 @@ public void testPluginInstallAndPluginRemove() throws Exception {

assertNotNull(pluginResult);
assertEquals(PluginResultCode.OK, pluginResult.getResultCode());
// Only one file should be in here: the jar for ftp.
String[] test = (new File(configDir, "plugins/lib/")).list();
assertTrue((new File(configDir, "plugins/lib/")).list().length == 1);

// Only one file should be in here: the jar for ftp.
assertTrue((new File(configDir, "plugins/lib/")).list().length == 1);

// Tear down
client.deleteTestData();
TestFileUtil.deleteDirectory(configDir);
System.setProperty("user.home", "/tmp");
}

}
}

0 comments on commit f698d3d

Please sign in to comment.