harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r824410 - /harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java
Date Mon, 12 Oct 2009 16:33:07 GMT
Author: tellison
Date: Mon Oct 12 16:33:07 2009
New Revision: 824410

URL: http://svn.apache.org/viewvc?rev=824410&view=rev
Log:
Mark type mapping as final to prevent subclasses redefining it, and keep findbugs happy.

Modified:
    harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java?rev=824410&r1=824409&r2=824410&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/main/java/org/apache/harmony/sql/internal/rowset/CachedRowSetImpl.java
Mon Oct 12 16:33:07 2009
@@ -149,7 +149,7 @@
 
     private boolean isNotifyListener = true;
 
-    protected static Map<Integer, Class<?>> TYPE_MAPPING = initialTypeMapping();
+    protected static final Map<Integer, Class<?>> TYPE_MAPPING = initialTypeMapping();
 
     public static final String PROVIDER_ID = "Apache Harmony HYOptimisticProvider"; //$NON-NLS-1$
 



Mime
View raw message