From: Glenn Adams Date: Sun, 24 Jun 2012 20:03:07 +0000 (+0000) Subject: Bugzilla #53458: Fix incorrect language and country code key generation in hyphenatio... X-Git-Tag: fop-1_1rc1^2~1^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2a631ed3af3a578339a76cbf91b6b649523ccf05;p=xmlgraphics-fop.git Bugzilla #53458: Fix incorrect language and country code key generation in hyphenation tree cache. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1353320 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/findbugs-exclude.xml b/findbugs-exclude.xml index a52209c32..a764eac41 100644 --- a/findbugs-exclude.xml +++ b/findbugs-exclude.xml @@ -958,11 +958,6 @@ - - - - - diff --git a/src/java/org/apache/fop/hyphenation/HyphenationTreeCache.java b/src/java/org/apache/fop/hyphenation/HyphenationTreeCache.java index c5845977f..1617d32d5 100644 --- a/src/java/org/apache/fop/hyphenation/HyphenationTreeCache.java +++ b/src/java/org/apache/fop/hyphenation/HyphenationTreeCache.java @@ -79,7 +79,7 @@ public class HyphenationTreeCache { String userKey = null; if (hyphPatNames != null) { String key = constructLlccKey(lang, country); - key.replace('_', '-'); + key = key.replace('_', '-'); userKey = (String) hyphPatNames.get(key); } return userKey; diff --git a/status.xml b/status.xml index 58c6bb81c..8d41fdef4 100644 --- a/status.xml +++ b/status.xml @@ -63,6 +63,9 @@ documents. Example: the fix of marks layering will be such a case when it's done. --> + + Fix incorrect language and country code key generation in hyphenation tree cache. + Fix incorrect SVG line dash pattern with PDF output format.