From: Keiron Liddle Date: Thu, 19 Sep 2002 09:20:06 +0000 (+0000) Subject: don't implement serializable twice X-Git-Tag: Alt-Design-integration-base~382 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0cadd453fe88b6e94f5a535e6838fa8aca7aeac6;p=xmlgraphics-fop.git don't implement serializable twice git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195234 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/org/apache/fop/area/Area.java b/src/org/apache/fop/area/Area.java index 5c381d2db..9bfc6a434 100644 --- a/src/org/apache/fop/area/Area.java +++ b/src/org/apache/fop/area/Area.java @@ -151,6 +151,8 @@ public class Area implements Serializable { * @param child the child area to add */ public void addChild(Area child) { +System.out.println("mmmm"); +(new Exception()).printStackTrace(); } /** diff --git a/src/org/apache/fop/area/Block.java b/src/org/apache/fop/area/Block.java index 655820752..c77a91859 100644 --- a/src/org/apache/fop/area/Block.java +++ b/src/org/apache/fop/area/Block.java @@ -7,7 +7,6 @@ package org.apache.fop.area; -import java.io.Serializable; import java.util.ArrayList; // block areas hold either more block areas or line @@ -21,7 +20,7 @@ import java.util.ArrayList; * This is the block area class. * It holds child block areas such as other blocks or lines. */ -public class Block extends BlockParent implements Serializable { +public class Block extends BlockParent { /** * Normally stacked with other blocks. */ diff --git a/src/org/apache/fop/area/BlockParent.java b/src/org/apache/fop/area/BlockParent.java index 1604cd86c..5352efffc 100644 --- a/src/org/apache/fop/area/BlockParent.java +++ b/src/org/apache/fop/area/BlockParent.java @@ -7,14 +7,13 @@ package org.apache.fop.area; -import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * A BlockParent holds block-level areas. */ -public class BlockParent extends Area implements Serializable { +public class BlockParent extends Area { // this position is used for absolute position // or as an indent diff --git a/src/org/apache/fop/area/RegionReference.java b/src/org/apache/fop/area/RegionReference.java index 30a621760..1af0386c2 100644 --- a/src/org/apache/fop/area/RegionReference.java +++ b/src/org/apache/fop/area/RegionReference.java @@ -7,7 +7,6 @@ package org.apache.fop.area; -import java.io.Serializable; import java.util.ArrayList; import java.util.List; @@ -16,7 +15,7 @@ import java.util.List; * This area represents a region on the page. It is cloneable * so the page master can make copies from the original page and regions. */ -public class RegionReference extends Area implements Serializable, Cloneable { +public class RegionReference extends Area implements Cloneable { /** * The before region. */