fix fallthrough in gui 25/13725/2
Antoine ELIAS [Thu, 13 Feb 2014 13:18:49 +0000 (14:18 +0100)]
Thanks Calixte for information

Change-Id: I39cf1a4d2a9e1533c3e1cff9a0c44ab64dbd1b9d

scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/label/SwingScilabLabel.java
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/pushbutton/SwingScilabPushButton.java
scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/tab/SwingScilabCommonPanel.java

index 3a17efd..81fda96 100644 (file)
@@ -505,6 +505,7 @@ public class SwingScilabLabel extends JScrollPane implements SwingViewObject, Si
                 } else {
                     //Icon in JEditorPane ?
                 }
+                break;
             }
             default : {
                 SwingViewWidget.update(this, property, value);
index b9b8cd3..05fc0ba 100644 (file)
@@ -325,6 +325,7 @@ public class SwingScilabPushButton extends JButton implements SwingViewObject, S
                     setIcon(new ImageIcon(icon));
                 } catch (IOException e) {
                 }
+                break;
             }
             default : {
                 SwingViewWidget.update(this, property, value);
index 3a27e05..609039c 100644 (file)
@@ -256,6 +256,7 @@ public class SwingScilabCommonPanel {
                     component.getParentWindow().setIconImage(new ImageIcon(icon).getImage());
                 } catch (IOException e) {
                 }
+                break;
             }
         }
     }