You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Vadim Gritsenko <va...@reverycodes.com> on 2004/07/21 15:36:08 UTC

Re: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/transformation/pagination Pagesheet.java

Please revert - this was already discussed once. See email archives and 
file commit history:
  
http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/java/org/apache/cocoon/transformation/pagination/Pagesheet.java

Vadim


unico@apache.org wrote:

>unico       2004/07/21 06:20:30
>
>  Modified:    src/java/org/apache/cocoon/transformation/pagination
>                        Pagesheet.java
>  Log:
>  make pagesheet work with ehcache store which requires object to be Serializable
>  
>  Revision  Changes    Path
>  1.7       +3 -3      cocoon-2.1/src/java/org/apache/cocoon/transformation/pagination/Pagesheet.java
>  
>  Index: Pagesheet.java
>  ===================================================================
>  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/pagination/Pagesheet.java,v
>  retrieving revision 1.6
>  retrieving revision 1.7
>  diff -u -r1.6 -r1.7
>  --- Pagesheet.java	17 May 2004 16:17:11 -0000	1.6
>  +++ Pagesheet.java	21 Jul 2004 13:20:30 -0000	1.7
>  @@ -16,6 +16,7 @@
>   
>   package org.apache.cocoon.transformation.pagination;
>   
>  +import java.io.Serializable;
>   import java.util.ArrayList;
>   import java.util.HashMap;
>   import java.util.Iterator;
>  @@ -97,8 +98,7 @@
>    6) range link(s) will have an attribute 'range' to indicate the range size
>   
>   */
>  -public class Pagesheet extends DefaultHandler
>  -                       implements Cloneable, Modifiable {
>  +public class Pagesheet extends DefaultHandler implements Cloneable, Modifiable, Serializable {
>   
>       // Used only during parsing of pagesheet document
>       private int level = 0;
>  
>
>  
>