aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/properties/KeepProperty.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2010-08-14 19:28:26 +0000
committerJeremias Maerki <jeremias@apache.org>2010-08-14 19:28:26 +0000
commitaba436311c935f145aa984c855f88bfd3a9cb1c1 (patch)
treeeed5354cd32bc16c1c147325ee4b108a3d9016cb /src/java/org/apache/fop/fo/properties/KeepProperty.java
parent29e8badcec8bd40eca2ef4940133f08eeefdda11 (diff)
downloadxmlgraphics-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.java4
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;