Loading...

dev@tomcat.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

svn commit: r1310639 - /tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java markt Fri Apr 06 17:00:19 2012

Author: markt
Date: Fri Apr  6 23:40:27 2012
New Revision: 1310639

URL: http://svn.apache.org/viewvc?rev=1310639&view=rev
Log:
Fix warning

Modified:
    tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java

Modified: tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java?rev=1310639&r1=1310638&r2=1310639&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java 
(original)
+++ tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java Fri Apr  
6 23:40:27 2012
@@ -324,7 +324,7 @@ public class TestWebSocket extends Tomca
                 Reader r = new InputStreamReader(is, encoding);
                 reader = new BufferedReader(r);
             } catch (Exception e) {
-                new RuntimeException(e);
+                throw new RuntimeException(e);
             }
         }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]