commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1845523 - /commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java
Date Thu, 01 Nov 2018 23:14:07 GMT
Author: ecki
Date: Thu Nov  1 23:14:07 2018
New Revision: 1845523

URL: http://svn.apache.org/viewvc?rev=1845523&view=rev
Log:
[VFS-678] revert uneeded synchronize

Modified:
    commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java

Modified: commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java?rev=1845523&r1=1845522&r2=1845523&view=diff
==============================================================================
--- commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java
(original)
+++ commons/proper/vfs/trunk/commons-vfs2/src/main/java/org/apache/commons/vfs2/util/MonitorInputStream.java
Thu Nov  1 23:14:07 2018
@@ -57,7 +57,7 @@ public class MonitorInputStream extends
      * @throws IOException if an error occurs.
      */
     @Override
-    public synchronized int read() throws IOException { // lgtm [java/non-sync-override]
+    public int read() throws IOException { // lgtm [java/non-sync-override]
         if (finished.get()) {
             return EOF_CHAR;
         }



Mime
View raw message