openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r736363 - /incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorComparator.java
Date Wed, 21 Jan 2009 18:23:31 GMT
Author: struberg
Date: Wed Jan 21 10:23:31 2009
New Revision: 736363

URL: http://svn.apache.org/viewvc?rev=736363&view=rev
Log:
OWB-57 make DecoratorComparator serializable

Modified:
    incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorComparator.java

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorComparator.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorComparator.java?rev=736363&r1=736362&r2=736363&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorComparator.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/decorator/DecoratorComparator.java
Wed Jan 21 10:23:31 2009
@@ -13,13 +13,17 @@
  */
 package org.apache.webbeans.decorator;
 
+import java.io.Serializable;
 import java.util.Comparator;
 
 import javax.webbeans.manager.Decorator;
 
-public class DecoratorComparator implements Comparator<Decorator>
+public class DecoratorComparator implements Comparator<Decorator>, Serializable
 {
 
+    /** default serial version UID */
+    private static final long serialVersionUID = 1L;
+
     public int compare(Decorator o1, Decorator o2)
     {
         WebBeansDecorator src = (WebBeansDecorator) o1;



Mime
View raw message