kcassell 2003/03/31 06:51:38
Modified: src/components/org/apache/jmeter/assertions/gui
AssertionGui.java
Log:
Fixed ArrayIndexOutOfBoundsException
Revision Changes Path
1.6 +8 -8
jakarta-jmeter/src/components/org/apache/jmeter/assertions/gui/AssertionGui.java
Index: AssertionGui.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/assertions/gui/AssertionGui.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- AssertionGui.java 18 Mar 2003 13:41:12 -0000 1.5
+++ AssertionGui.java 31 Mar 2003 14:51:37 -0000 1.6
@@ -362,9 +362,9 @@
public void actionPerformed(ActionEvent e)
{
int index = stringTable.getSelectedRow();
- stringTable.getCellEditor(index,
stringTable.getSelectedColumn()).cancelCellEditing();
if (index > -1)
{
+ stringTable.getCellEditor(index,
stringTable.getSelectedColumn()).cancelCellEditing();
tableModel.removeRow(index);
tableModel.fireTableDataChanged();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]