lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gre...@apache.org
Subject svn commit: r169164 - in /lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac: Machine.java World.java file/FileIPRange.java
Date Sun, 08 May 2005 21:12:54 GMT
Author: gregor
Date: Sun May  8 14:12:53 2005
New Revision: 169164

URL: http://svn.apache.org/viewcvs?rev=169164&view=rev
Log:
Made access control classes serializable based on a patch by Mirek Hankus. This resolves http://issues.apache.org/bugzilla/show_bug.cgi?id=34127

Modified:
    lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Machine.java
    lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/World.java
    lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/file/FileIPRange.java

Modified: lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Machine.java
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Machine.java?rev=169164&r1=169163&r2=169164&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Machine.java (original)
+++ lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/Machine.java Sun May  8 14:12:53
2005
@@ -17,6 +17,7 @@
 
 package org.apache.lenya.ac;
 
+import java.io.Serializable;
 import java.net.InetAddress;
 import java.net.UnknownHostException;
 import java.util.ArrayList;
@@ -24,9 +25,9 @@
 
 /**
  * A machine (representing an IP address).
- * @version $Id: Machine.java,v 1.5 2004/08/16 16:21:22 andreas Exp $
+ * @version $Id$
  */
-public class Machine implements Identifiable {
+public class Machine implements Identifiable, Serializable {
 
     /**
      * Creates a new machine object. This method accepts

Modified: lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/World.java
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/World.java?rev=169164&r1=169163&r2=169164&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/World.java (original)
+++ lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/World.java Sun May  8 14:12:53
2005
@@ -17,13 +17,14 @@
 
 package org.apache.lenya.ac;
 
+import java.io.Serializable;
 import java.util.Collections;
 
 /**
  * The world.
- * @version $Id: World.java,v 1.4 2004/08/16 16:21:22 andreas Exp $
+ * @version $Id$
  */
-public final class World implements Identifiable {
+public final class World implements Identifiable, Serializable {
     
     /**
      * Creates a new World object.

Modified: lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/file/FileIPRange.java
URL: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/file/FileIPRange.java?rev=169164&r1=169163&r2=169164&view=diff
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/file/FileIPRange.java (original)
+++ lenya/branches/BRANCH_1_2_X/src/java/org/apache/lenya/ac/file/FileIPRange.java Sun May
 8 14:12:53 2005
@@ -15,11 +15,12 @@
  *
  */
 
-/* $Id: FileIPRange.java,v 1.3 2004/08/16 15:59:51 andreas Exp $  */
+/* $Id$  */
 
 package org.apache.lenya.ac.file;
 
 import java.io.File;
+import java.io.Serializable;
 
 import org.apache.avalon.framework.configuration.Configuration;
 import org.apache.avalon.framework.configuration.ConfigurationException;
@@ -34,7 +35,7 @@
 /**
  * IP range that is stored in a file.
  */
-public class FileIPRange extends AbstractIPRange {
+public class FileIPRange extends AbstractIPRange implements Serializable {
 
 	/**
 	 * Main method.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org


Mime
View raw message