diff options
Diffstat (limited to 'src/org/apache/fop/fo/EnumProperty.java')
-rw-r--r-- | src/org/apache/fop/fo/EnumProperty.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/apache/fop/fo/EnumProperty.java b/src/org/apache/fop/fo/EnumProperty.java index 08e9e2e01..2b87bb0e2 100644 --- a/src/org/apache/fop/fo/EnumProperty.java +++ b/src/org/apache/fop/fo/EnumProperty.java @@ -1,6 +1,6 @@ /* * $Id$ - * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. + * Copyright (C) 2001-2002 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. */ @@ -17,7 +17,6 @@ public class EnumProperty extends Property { super(propName); } - /** * Called by subclass if no match found. */ @@ -34,12 +33,12 @@ public class EnumProperty extends Property { public Property convertProperty(Property p, PropertyList propertyList, FObj fo) throws FOPException { - if (p instanceof EnumProperty) + if (p instanceof EnumProperty) { return p; - else + } else { return null; + } } - } private int value; @@ -59,3 +58,4 @@ public class EnumProperty extends Property { } } + |