Falling through is a dangerous pattern, let's not do it.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@116 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2006-10-26 23:11:56 +00:00
parent e9fe2aab01
commit 16f070f69c
2 changed files with 5 additions and 2 deletions
@@ -68,9 +68,10 @@ public class PortalTool extends MouseInputAdapter
switch (event.getButton()) {
case MouseEvent.BUTTON1:
savePortal();
// fall through to BUTTON3
break;
case MouseEvent.BUTTON3:
savePortal();
dispose();
break;
}