Author: sebb Date: Wed Nov 12 10:23:58 2008 New Revision: 713446 URL: http://svn.apache.org/viewvc?rev=713446&view=rev Log: Avoid possible NPE
Modified: jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java Modified: jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java?rev=713446&r1=713445&r2=713446&view=diff ============================================================================== --- jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java (original) +++ jakarta/jmeter/trunk/src/protocol/java/org/apache/jmeter/protocol/java/config/gui/JavaConfigGui.java Wed Nov 12 10:23:58 2008 @@ -21,6 +21,7 @@ import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; +import java.util.ArrayList; import java.util.List; import java.util.Map; @@ -118,7 +119,7 @@ * @return a panel containing the relevant components */ private JPanel createClassnamePanel() { - List possibleClasses = null; + List possibleClasses = new ArrayList(); try { // Find all the classes which implement the JavaSamplerClient --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]