Browse Source

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
tags/fop-1_1rc1^2
Glenn Adams 12 years ago
parent
commit
2a631ed3af

+ 0
- 5
findbugs-exclude.xml View File

@@ -958,11 +958,6 @@
<Method name="getInputStreamOnFont"/>
<Bug pattern="RV_EXCEPTION_NOT_THROWN"/>
</Match>
<Match>
<Class name="org.apache.fop.hyphenation.HyphenationTreeCache"/>
<Method name="constructUserKey"/>
<Bug pattern="RV_RETURN_VALUE_IGNORED"/>
</Match>
<Match>
<Class name="org.apache.fop.afp.AFPResourceLevel"/>
<Method name="equals"/>

+ 1
- 1
src/java/org/apache/fop/hyphenation/HyphenationTreeCache.java View File

@@ -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;

+ 3
- 0
status.xml View File

@@ -63,6 +63,9 @@
documents. Example: the fix of marks layering will be such a case when it's done.
-->
<release version="FOP Trunk" date="TBD">
<action context="Code" dev="GA" type="fix" fixes-bug="53458" due-to="Dieter von Holten">
Fix incorrect language and country code key generation in hyphenation tree cache.
</action>
<action context="Images" dev="GA" type="fix" fixes-bug="53431" due-to="Luis Bernardo">
Fix incorrect SVG line dash pattern with PDF output format.
</action>

Loading…
Cancel
Save