changeset 2137:8eaa6d17d913

[Findbugs] Switch statement found in com.sun.javafx.scene.control.behavior.TextFieldBehavior.mousePressed(MouseEvent) where default case is missing
author jgiles
date Fri, 04 Jan 2013 17:30:09 +1300
parents 294e7d3302ec
children 36814b27de0e
files javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TextFieldBehavior.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TextFieldBehavior.java	Fri Jan 04 17:30:01 2013 +1300
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/behavior/TextFieldBehavior.java	Fri Jan 04 17:30:09 2013 +1300
@@ -278,6 +278,7 @@
                         case 1: mouseSingleClick(hit); break;
                         case 2: mouseDoubleClick(hit); break;
                         case 3: mouseTripleClick(hit); break;
+                        default: // no-op
                     }
                 } else if (e.isShiftDown() && !(e.isControlDown() || e.isAltDown() || e.isMetaDown()) && e.getClickCount() == 1) {
                     // didn't click inside the selection, so select