aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/complexscripts/fonts/GlyphPositioningSubtable.java
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2013-05-07 18:53:29 +0000
committerVincent Hennebert <vhennebert@apache.org>2013-05-07 18:53:29 +0000
commit439fb3ee98f378b92bed65154c106acba0bf9eda (patch)
treecf4374e950bc2a1c8c5dd04e581c06a53bb8bcef /src/java/org/apache/fop/complexscripts/fonts/GlyphPositioningSubtable.java
parente8f590803ae0bb67a0d1686c47ccc2fb6d187ae8 (diff)
downloadxmlgraphics-fop-439fb3ee98f378b92bed65154c106acba0bf9eda.tar.gz
xmlgraphics-fop-439fb3ee98f378b92bed65154c106acba0bf9eda.zip
Cosmetics only: removed Checkstyle SuppressWithNearbyCommentFilter and fixed corresponding issues
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1480018 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/complexscripts/fonts/GlyphPositioningSubtable.java')
-rw-r--r--src/java/org/apache/fop/complexscripts/fonts/GlyphPositioningSubtable.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/complexscripts/fonts/GlyphPositioningSubtable.java b/src/java/org/apache/fop/complexscripts/fonts/GlyphPositioningSubtable.java
index 36d175ff1..d269a342a 100644
--- a/src/java/org/apache/fop/complexscripts/fonts/GlyphPositioningSubtable.java
+++ b/src/java/org/apache/fop/complexscripts/fonts/GlyphPositioningSubtable.java
@@ -34,7 +34,7 @@ import org.apache.fop.complexscripts.util.ScriptContextTester;
*/
public abstract class GlyphPositioningSubtable extends GlyphSubtable implements GlyphPositioning {
- private static final GlyphPositioningState state = new GlyphPositioningState(); // CSOK: ConstantName
+ private static final GlyphPositioningState STATE = new GlyphPositioningState();
/**
* Instantiate a <code>GlyphPositioningSubtable</code>.
@@ -124,8 +124,8 @@ public abstract class GlyphPositioningSubtable extends GlyphSubtable implements
* @return true if a non-zero adjustment occurred
*/
public static final boolean position(GlyphSequence gs, String script, String language, String feature, int fontSize, GlyphPositioningSubtable[] sta, int[] widths, int[][] adjustments, ScriptContextTester sct) {
- synchronized (state) {
- return position(state.reset(gs, script, language, feature, fontSize, widths, adjustments, sct), sta, -1);
+ synchronized (STATE) {
+ return position(STATE.reset(gs, script, language, feature, fontSize, widths, adjustments, sct), sta, -1);
}
}