From b0a39615b117fea28857ed77684471b7d44ba68c Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 25 Aug 2016 17:19:23 +0100 Subject: [PATCH] JAL-1854 missing case break statements added --- src/jalview/datamodel/CigarBase.java | 1 + src/jalview/gui/SplitFrame.java | 1 + src/jalview/jbgui/GStructureChooser.java | 1 + 3 files changed, 3 insertions(+) diff --git a/src/jalview/datamodel/CigarBase.java b/src/jalview/datamodel/CigarBase.java index bcf8596..5fb507a 100644 --- a/src/jalview/datamodel/CigarBase.java +++ b/src/jalview/datamodel/CigarBase.java @@ -533,6 +533,7 @@ public abstract class CigarBase { case M: cursor += range[i]; + break; case I: vcursor += range[i]; break; diff --git a/src/jalview/gui/SplitFrame.java b/src/jalview/gui/SplitFrame.java index c1039ee..1bc85d2 100644 --- a/src/jalview/gui/SplitFrame.java +++ b/src/jalview/gui/SplitFrame.java @@ -336,6 +336,7 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI actioned = true; e.consume(); } + break; default: } return actioned; diff --git a/src/jalview/jbgui/GStructureChooser.java b/src/jalview/jbgui/GStructureChooser.java index e571064..1348e59 100644 --- a/src/jalview/jbgui/GStructureChooser.java +++ b/src/jalview/jbgui/GStructureChooser.java @@ -379,6 +379,7 @@ public abstract class GStructureChooser extends JPanel implements } } evt.consume(); + break; default: return; } -- 1.7.10.2