Restored correct behavior in a non-fallthrough way.

(And personally, I think falling-through is fine if documented. Maybe we
need a @FallThrough annotation so that the compiler can be our best friend.)


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@117 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2006-10-26 23:40:48 +00:00
parent 16f070f69c
commit f8ddf4d7c9
@@ -68,10 +68,10 @@ public class PortalTool extends MouseInputAdapter
switch (event.getButton()) { switch (event.getButton()) {
case MouseEvent.BUTTON1: case MouseEvent.BUTTON1:
savePortal(); savePortal();
dispose();
break; break;
case MouseEvent.BUTTON3: case MouseEvent.BUTTON3:
savePortal();
dispose(); dispose();
break; break;
} }