empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1379398 - /empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
Date Fri, 31 Aug 2012 10:10:45 GMT
Author: doebele
Date: Fri Aug 31 10:10:45 2012
New Revision: 1379398

URL: http://svn.apache.org/viewvc?rev=1379398&view=rev
Log:
EMPIREDB-167 
make ObjectUtils.NO_VALUE serializable

Modified:
    empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java

Modified: empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java
URL: http://svn.apache.org/viewvc/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java?rev=1379398&r1=1379397&r2=1379398&view=diff
==============================================================================
--- empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java (original)
+++ empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/ObjectUtils.java Fri
Aug 31 10:10:45 2012
@@ -18,6 +18,7 @@
  */
 package org.apache.empire.commons;
 
+import java.io.Serializable;
 import java.math.BigDecimal;
 import java.math.BigInteger;
 import java.text.SimpleDateFormat;
@@ -41,8 +42,9 @@ public final class ObjectUtils
      * This class eplicitly defines that an Object has not been assined a value.<BR>
      * This may be used in cases where the value of null may be a valid value.
      */
-    public static class NoValue
+    private static final class NoValue implements Serializable
     {
+        private static final long serialVersionUID = 1L;
         private NoValue()
         { /* dummy */
         }



Mime
View raw message