Merge pull request #323 from DevFactory/code-quality-fix-5

Code quality fixes
This commit is contained in:
Ilkka Seppälä committed 2015-12-30 19:47:19 +02:00
commit 7c6e1fc3d8
5 files changed
+9 -9

No files matched your search

@@ -140,11 +140,11 @@ public class FileSelectorJFrame extends JFrame implements FileSelectorView, Acti
@Override
public void actionPerformed(ActionEvent e) {
if (e.getSource() == this.ok) {
if (this.ok.equals(e.getSource())) {
this.fileName = this.input.getText();
presenter.fileNameChanged();
presenter.confirmed();
} else if (e.getSource() == this.cancel) {
} else if (this.cancel.equals(e.getSource())) {
presenter.cancelled();
}
}