tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1177997 - in /tomcat/trunk/java/org/apache/catalina/tribes/io: ObjectReader.java ReplicationStream.java
Date Sat, 01 Oct 2011 14:48:53 GMT
Author: markt
Date: Sat Oct  1 14:48:53 2011
New Revision: 1177997

URL: http://svn.apache.org/viewvc?rev=1177997&view=rev
Log:
Remove unused throws declarations

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/io/ObjectReader.java
    tomcat/trunk/java/org/apache/catalina/tribes/io/ReplicationStream.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/io/ObjectReader.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/io/ObjectReader.java?rev=1177997&r1=1177996&r2=1177997&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/io/ObjectReader.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/io/ObjectReader.java Sat Oct  1 14:48:53
2011
@@ -103,7 +103,7 @@ public class ObjectReader {
        return pkgCnt;
    }
 
-     public int append(byte[] data,int off,int len, boolean count) throws java.io.IOException
{
+     public int append(byte[] data,int off,int len, boolean count) {
         buffer.append(data,off,len);
         int pkgCnt = -1;
         if ( count ) pkgCnt = buffer.countPackages();

Modified: tomcat/trunk/java/org/apache/catalina/tribes/io/ReplicationStream.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/io/ReplicationStream.java?rev=1177997&r1=1177996&r2=1177997&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/io/ReplicationStream.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/io/ReplicationStream.java Sat Oct  1 14:48:53
2011
@@ -80,8 +80,7 @@ public final class ReplicationStream ext
         }
     }
     
-    public Class<?> resolveClass(String name)
-        throws ClassNotFoundException, IOException {
+    public Class<?> resolveClass(String name) throws ClassNotFoundException {
 
         boolean tryRepFirst = name.startsWith("org.apache.catalina.tribes");
             try {
@@ -137,7 +136,7 @@ public final class ReplicationStream ext
 
     
     public Class<?> findReplicationClass(String name)
-        throws ClassNotFoundException, IOException {
+            throws ClassNotFoundException {
         Class<?> clazz = Class.forName(name, false, getClass().getClassLoader());
         return clazz;
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message