Skip to content

Commit

Permalink
removed debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaSteward committed Nov 6, 2014
1 parent b9f880a commit ba28d85
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/com/xmage/launcher/XMageLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,10 @@ private void removeOldLauncherFiles(File xmageFolder, final String launcherVersi
File[] files = xmageFolder.listFiles(new FilenameFilter() {
@Override
public boolean accept(final File dir, final String name) {
textArea.append(dir.getAbsolutePath() + name + "\n");
if (name.matches("XMageLauncher.*\\.jar")) {
if (name.equals("XMageLauncher-" + launcherVersion + ".jar")) {
return false;
}
textArea.append("matched\n");
return true;
}
return false;
Expand Down

0 comments on commit ba28d85

Please sign in to comment.