lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gre...@apache.org
Subject svn commit: r169165 - in /lenya/trunk/src/java/org/apache/lenya/ac: Machine.java World.java file/FileIPRange.java
Date Sun, 08 May 2005 21:13:02 GMT
Author: gregor
Date: Sun May  8 14:13:01 2005
New Revision: 169165

URL: http://svn.apache.org/viewcvs?rev=169165&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/trunk/src/java/org/apache/lenya/ac/Machine.java
    lenya/trunk/src/java/org/apache/lenya/ac/World.java
    lenya/trunk/src/java/org/apache/lenya/ac/file/FileIPRange.java

Modified: lenya/trunk/src/java/org/apache/lenya/ac/Machine.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/ac/Machine.java?rev=169165&r1=169164&r2=169165&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/ac/Machine.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/ac/Machine.java Sun May  8 14:13:01 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;
@@ -26,7 +27,7 @@
  * A machine (representing an IP address).
  * @version $Id$
  */
-public class Machine implements Identifiable {
+public class Machine implements Identifiable, Serializable {
 
     /**
      * Creates a new machine object. This method accepts

Modified: lenya/trunk/src/java/org/apache/lenya/ac/World.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/ac/World.java?rev=169165&r1=169164&r2=169165&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/ac/World.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/ac/World.java Sun May  8 14:13:01 2005
@@ -17,13 +17,14 @@
 
 package org.apache.lenya.ac;
 
+import java.io.Serializable;
 import java.util.Collections;
 
 /**
  * The world.
  * @version $Id$
  */
-public final class World implements Identifiable {
+public final class World implements Identifiable, Serializable {
     
     /**
      * Creates a new World object.

Modified: lenya/trunk/src/java/org/apache/lenya/ac/file/FileIPRange.java
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/java/org/apache/lenya/ac/file/FileIPRange.java?rev=169165&r1=169164&r2=169165&view=diff
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/ac/file/FileIPRange.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/ac/file/FileIPRange.java Sun May  8 14:13:01 2005
@@ -20,6 +20,7 @@
 package org.apache.lenya.ac.file;
 
 import java.io.File;
+import java.io.Serializable;
 import java.net.InetAddress;
 import java.net.UnknownHostException;
 
@@ -36,7 +37,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