tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1310639 - /tomcat/trunk/test/org/apache/catalina/websocket/TestWebSocket.java
Date Fri, 06 Apr 2012 23:40:28 GMT
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message