empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1205371 - in /incubator/empire-db/trunk: empire-db-examples/empire-db-example-jsf2/ empire-db-examples/empire-db-example-jsf2/src/main/webapp/ empire-db/src/main/java/org/apache/empire/commons/
Date Wed, 23 Nov 2011 11:40:11 GMT
Author: doebele
Date: Wed Nov 23 11:40:10 2011
New Revision: 1205371

URL: http://svn.apache.org/viewvc?rev=1205371&view=rev
Log:
Added missing Serializeable on class
commons.Options 
and
commons.OptionEntry

Modified:
    incubator/empire-db/trunk/empire-db-examples/empire-db-example-jsf2/   (props changed)
    incubator/empire-db/trunk/empire-db-examples/empire-db-example-jsf2/src/main/webapp/ 
 (props changed)
    incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/Attributes.java
    incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/OptionEntry.java
    incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/Options.java

Propchange: incubator/empire-db/trunk/empire-db-examples/empire-db-example-jsf2/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Nov 23 11:40:10 2011
@@ -0,0 +1,11 @@
+target
+
+work
+
+.settings
+
+.tomcatplugin
+
+.project
+
+.classpath

Propchange: incubator/empire-db/trunk/empire-db-examples/empire-db-example-jsf2/src/main/webapp/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Nov 23 11:40:10 2011
@@ -0,0 +1 @@
+hsqldb

Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/Attributes.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/Attributes.java?rev=1205371&r1=1205370&r2=1205371&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/Attributes.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/Attributes.java
Wed Nov 23 11:40:10 2011
@@ -27,10 +27,11 @@ import org.w3c.dom.Element;
  * This class holds a map of objects which are identified by a case insensitive key string.
  * 
  */
-@SuppressWarnings("serial")
-public class Attributes extends LinkedHashMap<String, Object>
+public class Attributes extends LinkedHashMap<String, Object> 
 {
-    /**
+	private static final long serialVersionUID = 1L;
+
+	/**
      * @param key the attribute
      * @return the attribute value
      */

Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/OptionEntry.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/OptionEntry.java?rev=1205371&r1=1205370&r2=1205371&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/OptionEntry.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/OptionEntry.java
Wed Nov 23 11:40:10 2011
@@ -18,6 +18,8 @@
  */
 package org.apache.empire.commons;
 
+import java.io.Serializable;
+
 /**
  * This class defines one possible value of a field and it's description<BR>
  * This class is used by the Options class to implement a set of options 
@@ -25,9 +27,11 @@ package org.apache.empire.commons;
  * The text should only be used for display purposes e.g. to display a drop-down in a user
interface.<BR>
  * <P>
  */
-public class OptionEntry
+public class OptionEntry implements Serializable
 {
-    private Object value;
+	private static final long serialVersionUID = 1L;
+	
+	private Object value;
     private String text;
     
     public OptionEntry(Object value, String text)

Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/Options.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/Options.java?rev=1205371&r1=1205370&r2=1205371&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/Options.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/commons/Options.java
Wed Nov 23 11:40:10 2011
@@ -18,6 +18,7 @@
  */
 package org.apache.empire.commons;
 
+import java.io.Serializable;
 import java.util.AbstractSet;
 import java.util.ArrayList;
 import java.util.HashSet;
@@ -36,9 +37,11 @@ import org.w3c.dom.Element;
  * where the entry value is used as the key for the set and thus must be unique.<BR>
  * <P> 
  */
-public class Options extends AbstractSet<OptionEntry>
+public class Options extends AbstractSet<OptionEntry> implements Serializable
 {
-    public enum InsertPos
+	private static final long serialVersionUID = 1L;
+
+	public enum InsertPos
     {
         Top, Bottom, Sort
     }



Mime
View raw message