commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r741536 - /commons/proper/io/trunk/src/java/org/apache/commons/io/input/BrokenInputStream.java
Date Fri, 06 Feb 2009 11:17:00 GMT
Author: jukka
Date: Fri Feb  6 11:17:00 2009
New Revision: 741536

URL: http://svn.apache.org/viewvc?rev=741536&view=rev
Log:
IO-193: Broken input and output streams

There's no need for BrokenInputStream.reset() to be synchronized like the InputStream.reset()
method it overrides.

Modified:
    commons/proper/io/trunk/src/java/org/apache/commons/io/input/BrokenInputStream.java

Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/input/BrokenInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/input/BrokenInputStream.java?rev=741536&r1=741535&r2=741536&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/input/BrokenInputStream.java (original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/input/BrokenInputStream.java Fri
Feb  6 11:17:00 2009
@@ -91,7 +91,7 @@
      * @throws IOException always thrown
      */
     @Override
-    public synchronized void reset() throws IOException {
+    public void reset() throws IOException {
         throw exception;
     }
 



Mime
View raw message