diff options
author | Glenn Adams <gadams@apache.org> | 2012-06-24 20:03:07 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2012-06-24 20:03:07 +0000 |
commit | 2a631ed3af3a578339a76cbf91b6b649523ccf05 (patch) | |
tree | 744cbf59c3624e9ca631d0ef1fd8ec44c8d222cc /src | |
parent | f7c9ea74d2157769b664aee9fcd3f2d00bb32e05 (diff) | |
download | xmlgraphics-fop-2a631ed3af3a578339a76cbf91b6b649523ccf05.tar.gz xmlgraphics-fop-2a631ed3af3a578339a76cbf91b6b649523ccf05.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/hyphenation/HyphenationTreeCache.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |