diff options
author | Jeremias Maerki <jeremias@apache.org> | 2010-08-14 19:28:26 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2010-08-14 19:28:26 +0000 |
commit | aba436311c935f145aa984c855f88bfd3a9cb1c1 (patch) | |
tree | eed5354cd32bc16c1c147325ee4b108a3d9016cb /src/java/org/apache/fop/fo/properties/KeepProperty.java | |
parent | 29e8badcec8bd40eca2ef4940133f08eeefdda11 (diff) | |
download | xmlgraphics-fop-aba436311c935f145aa984c855f88bfd3a9cb1c1.tar.gz xmlgraphics-fop-aba436311c935f145aa984c855f88bfd3a9cb1c1.zip |
Removed many "// CSOK: ConstantName" instances for constants, by converting them to uppercase as they should really be.
Fixed some other non-Checkstyle issues on the way, imports mainly.
Removed some "log" instances that were not used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985571 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/properties/KeepProperty.java')
-rw-r--r-- | src/java/org/apache/fop/fo/properties/KeepProperty.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/properties/KeepProperty.java b/src/java/org/apache/fop/fo/properties/KeepProperty.java index 7c5b6124f..0bc44e459 100644 --- a/src/java/org/apache/fop/fo/properties/KeepProperty.java +++ b/src/java/org/apache/fop/fo/properties/KeepProperty.java @@ -30,7 +30,7 @@ import org.apache.fop.fo.expr.PropertyException; public final class KeepProperty extends Property implements CompoundDatatype { /** class holding all canonical KeepProperty instances*/ - private static final PropertyCache cache // CSOK: ConstantName + private static final PropertyCache CACHE = new PropertyCache(KeepProperty.class); private boolean isCachedValue = false; @@ -165,7 +165,7 @@ public final class KeepProperty extends Property implements CompoundDatatype { * this property */ public KeepProperty getKeep() { - KeepProperty keep = (KeepProperty) cache.fetch(this); + KeepProperty keep = (KeepProperty) CACHE.fetch(this); /* make sure setComponent() can never alter cached values */ keep.isCachedValue = true; return keep; |