commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1600673 - in /commons/proper/bcel/trunk/src/main/java/org/apache/bcel: classfile/ConstantUtf8.java generic/ObjectType.java
Date Thu, 05 Jun 2014 14:19:44 GMT
Author: ggregory
Date: Thu Jun  5 14:19:44 2014
New Revision: 1600673

URL: http://svn.apache.org/r1600673
Log:
Add missing serial version ID (generated).

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/ObjectType.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java?rev=1600673&r1=1600672&r2=1600673&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ConstantUtf8.java Thu
Jun  5 14:19:44 2014
@@ -72,6 +72,8 @@ public final class ConstantUtf8 extends 
         considered++;
         if (cache == null)  {
             cache = new LinkedHashMap<String, ConstantUtf8>(INITIAL_CACHE_CAPACITY,
0.75f, true) {
+                private static final long serialVersionUID = -8506975356158971766L;
+
                 @Override
                 protected boolean removeEldestEntry(Map.Entry<String, ConstantUtf8>
eldest) {
                      return size() > MAX_CACHE_ENTRIES;

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/ObjectType.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/ObjectType.java?rev=1600673&r1=1600672&r2=1600673&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/ObjectType.java (original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/generic/ObjectType.java Thu Jun
 5 14:19:44 2014
@@ -44,6 +44,8 @@ public class ObjectType extends Referenc
             cache = new LinkedHashMap<String, ObjectType>(INITIAL_CACHE_CAPACITY, 0.75f,
true) {
 
 
+            private static final long serialVersionUID = 2101159231109718724L;
+
             @Override
             protected boolean removeEldestEntry(Map.Entry<String, ObjectType> eldest)
{
                return size() > MAX_CACHE_ENTRIES;



Mime
View raw message