harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r571132 - in /harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal: FileChannelImpl.java ServerSocketChannelImpl.java
Date Thu, 30 Aug 2007 12:25:49 GMT
Author: tellison
Date: Thu Aug 30 05:25:48 2007
New Revision: 571132

URL: http://svn.apache.org/viewvc?rev=571132&view=rev
Log:
Make the lock marker class static.

Modified:
    harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/FileChannelImpl.java
    harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/ServerSocketChannelImpl.java

Modified: harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/FileChannelImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/FileChannelImpl.java?rev=571132&r1=571131&r2=571132&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/FileChannelImpl.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/FileChannelImpl.java
Thu Aug 30 05:25:48 2007
@@ -64,9 +64,7 @@
     // The object that will track all outstanding locks on this channel.
     private final LockManager lockManager = new LockManager();
 
-    static private class RepositioningLock {
-    }
-
+    private static class RepositioningLock {}
     private final Object repositioningLock = new RepositioningLock();
 
     private final Object stream;

Modified: harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/ServerSocketChannelImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/ServerSocketChannelImpl.java?rev=571132&r1=571131&r2=571132&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/ServerSocketChannelImpl.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/ServerSocketChannelImpl.java
Thu Aug 30 05:25:48 2007
@@ -73,7 +73,7 @@
     boolean isBound = false;
 
     // lock for accept
-    private class AcceptLock {}
+    private static class AcceptLock {}
     private final Object acceptLock = new AcceptLock();
 
     // ----------------------------------------------------



Mime
View raw message