some netbeans inspection fixes

This commit is contained in:
honfika@gmail.com
2015-08-11 14:40:56 +02:00
parent 80bf0556fd
commit 427e7ea70d
11 changed files with 26 additions and 21 deletions

View File

@@ -184,9 +184,6 @@ public class DumpTree extends JTree {
JFileChooser fc = new JFileChooser();
String selDir = Configuration.lastOpenDir.get();
fc.setCurrentDirectory(new File(selDir));
if (!selDir.endsWith(File.separator)) {
selDir += File.separator;
}
JFrame f = new JFrame();
View.setWindowIcon(f);
if (fc.showSaveDialog(f) == JFileChooser.APPROVE_OPTION) {