harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r489986 - /harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java
Date Sun, 24 Dec 2006 05:32:58 GMT
Author: ndbeyer
Date: Sat Dec 23 21:32:58 2006
New Revision: 489986

URL: http://svn.apache.org/viewvc?view=rev&rev=489986
Log:
Make the inner class static, as suggested by FindBugs

Modified:
    harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java

Modified: harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java?view=diff&rev=489986&r1=489985&r2=489986
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/prefs/src/main/java/java/util/prefs/AbstractPreferences.java
Sat Dec 23 21:32:58 2006
@@ -102,7 +102,7 @@
      * -----------------------------------------------------------
      */
     /** Marker class for 'lock' field. */
-    private class Lock {}
+    private static class Lock {}
     /** The object used to lock this node. */
     protected final Object lock;
     



Mime
View raw message