jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1537797 - /jmeter/trunk/src/core/org/apache/jmeter/gui/util/ButtonPanel.java
Date Fri, 01 Nov 2013 01:08:00 GMT
Author: sebb
Date: Fri Nov  1 01:07:59 2013
New Revision: 1537797

URL: http://svn.apache.org/r1537797
Log:
Missing default case

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/ButtonPanel.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/util/ButtonPanel.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/util/ButtonPanel.java?rev=1537797&r1=1537796&r2=1537797&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/util/ButtonPanel.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/util/ButtonPanel.java Fri Nov  1 01:07:59
2013
@@ -66,6 +66,8 @@ public class ButtonPanel extends JPanel 
         case SAVE_BUTTON:
             save.addActionListener(listener);
             break;
+        default:
+        	throw new IllegalStateException("Unexpected button id: " + button);
         }
     }
 



Mime
View raw message