Some minor formatting.

This commit is contained in:
LevelX2 2014-02-03 17:47:12 +01:00
parent 9c5d5208b9
commit bf4ccf185c
10 changed files with 79 additions and 61 deletions

View file

@ -125,7 +125,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
/**
* Free resources so GC can work
*/
public void clear() {
public void cleanUp() {
if (updateDeckTask != null) {
updateDeckTask.cancel(true);
}
@ -319,7 +319,7 @@ public class DeckEditorPanel extends javax.swing.JPanel {
public void removeDeckEditor() {
hidePopup();
this.clear();
this.cleanUp();
Component c = this.getParent();
while (c != null && !(c instanceof DeckEditorPane)) {