woolfel 2003/10/17 08:52:47
Modified: src/protocol/http/org/apache/jmeter/protocol/http/control/gui
AccessLogSamplerGui.java
Log:
removed the exception stacktrace print, since the method returns
port 80 by default
Revision Changes Path
1.3 +4 -2
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AccessLogSamplerGui.java
Index: AccessLogSamplerGui.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/AccessLogSamplerGui.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AccessLogSamplerGui.java 17 Oct 2003 15:10:13 -0000 1.2
+++ AccessLogSamplerGui.java 17 Oct 2003 15:52:47 -0000 1.3
@@ -186,7 +186,9 @@
int port = Integer.parseInt(PORT.getText());
return port;
} catch (NumberFormatException exception){
- exception.printStackTrace();
+ // since we return 80, there's not point
+ // in printing out the stack trace or
+ // an exception.
return 80;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]