diff options
Diffstat (limited to 'src/org/apache/fop/area/Block.java')
-rw-r--r-- | src/org/apache/fop/area/Block.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/org/apache/fop/area/Block.java b/src/org/apache/fop/area/Block.java index ccad5f345..9073c23a7 100644 --- a/src/org/apache/fop/area/Block.java +++ b/src/org/apache/fop/area/Block.java @@ -59,16 +59,17 @@ public class Block extends BlockParent implements Serializable { } // store properties in array list, need better solution - ArrayList props = null; + ArrayList traits = null; - public void addProperty(Property prop) { - if (props == null) { - props = new ArrayList(); + public void addTrait(Trait prop) { + if (traits == null) { + traits = new ArrayList(); } - props.add(prop); + traits.add(prop); } - public List getPropertyList() { - return props; + public List getTraitList() { + return traits; } } + |