You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2013/12/28 22:15:11 UTC

svn commit: r1553926 - in /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3: SerializationUtilsTest.java event/EventListenerSupportTest.java

Author: ggregory
Date: Sat Dec 28 21:15:10 2013
New Revision: 1553926

URL: http://svn.apache.org/r1553926
Log:
Add missing serial version ID (default 1L).

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/event/EventListenerSupportTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java?rev=1553926&r1=1553925&r2=1553926&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java (original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/SerializationUtilsTest.java Sat Dec 28 21:15:10 2013
@@ -422,6 +422,8 @@ public class SerializationUtilsTest {
 class ClassNotFoundSerialization implements Serializable
 {
 
+    private static final long serialVersionUID = 1L;
+
     private void readObject(final ObjectInputStream in) throws ClassNotFoundException    {
         throw new ClassNotFoundException(SerializationUtilsTest.CLASS_NOT_FOUND_MESSAGE);
     }

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/event/EventListenerSupportTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/event/EventListenerSupportTest.java?rev=1553926&r1=1553925&r2=1553926&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/event/EventListenerSupportTest.java (original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/event/EventListenerSupportTest.java Sat Dec 28 21:15:10 2013
@@ -169,6 +169,8 @@ public class EventListenerSupportTest 
         final
         EventListenerSupport<VetoableChangeListener> eventListenerSupport = new EventListenerSupport<VetoableChangeListener>(
                 VetoableChangeListener.class) {
+            private static final long serialVersionUID = 1L;
+
             @Override
             protected java.lang.reflect.InvocationHandler createInvocationHandler() {
                 return new ProxyInvocationHandler() {