diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2013-05-07 18:53:29 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2013-05-07 18:53:29 +0000 |
commit | 439fb3ee98f378b92bed65154c106acba0bf9eda (patch) | |
tree | cf4374e950bc2a1c8c5dd04e581c06a53bb8bcef /src/java/org/apache/fop/complexscripts/fonts/GlyphSubstitutionSubtable.java | |
parent | e8f590803ae0bb67a0d1686c47ccc2fb6d187ae8 (diff) | |
download | xmlgraphics-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/GlyphSubstitutionSubtable.java')
-rw-r--r-- | src/java/org/apache/fop/complexscripts/fonts/GlyphSubstitutionSubtable.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/complexscripts/fonts/GlyphSubstitutionSubtable.java b/src/java/org/apache/fop/complexscripts/fonts/GlyphSubstitutionSubtable.java index 458d960ea..ebcf35b8d 100644 --- a/src/java/org/apache/fop/complexscripts/fonts/GlyphSubstitutionSubtable.java +++ b/src/java/org/apache/fop/complexscripts/fonts/GlyphSubstitutionSubtable.java @@ -33,7 +33,7 @@ import org.apache.fop.complexscripts.util.ScriptContextTester; */ public abstract class GlyphSubstitutionSubtable extends GlyphSubtable implements GlyphSubstitution { - private static final GlyphSubstitutionState state = new GlyphSubstitutionState(); // CSOK: ConstantName + private static final GlyphSubstitutionState STATE = new GlyphSubstitutionState(); /** * Instantiate a <code>GlyphSubstitutionSubtable</code>. @@ -121,8 +121,8 @@ public abstract class GlyphSubstitutionSubtable extends GlyphSubtable implements * @return output glyph sequence */ public static final GlyphSequence substitute(GlyphSequence gs, String script, String language, String feature, GlyphSubstitutionSubtable[] sta, ScriptContextTester sct) { - synchronized (state) { - return substitute(state.reset(gs, script, language, feature, sct), sta, -1); + synchronized (STATE) { + return substitute(STATE.reset(gs, script, language, feature, sct), sta, -1); } } |