Index: /applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/action/gui/WaypointDialog.java
===================================================================
--- /applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/action/gui/WaypointDialog.java	(revision 35252)
+++ /applications/editors/josm/plugins/surveyor/src/org/openstreetmap/josm/plugins/surveyor/action/gui/WaypointDialog.java	(revision 35253)
@@ -38,6 +38,6 @@
             String prop = e.getPropertyName();
 
-            if (dialog.isVisible() && (e.getSource() == optionPane)
-                            && (prop.equals(JOptionPane.VALUE_PROPERTY))) {
+            if (dialog.isVisible() && e.getSource() == optionPane
+                            && prop.equals(JOptionPane.VALUE_PROPERTY)) {
                 // If you were going to check something
                 // before closing the window, you'd do it here.
