diff options
author | Mehdi Houshmand <mehdi@apache.org> | 2012-06-22 08:27:42 +0000 |
---|---|---|
committer | Mehdi Houshmand <mehdi@apache.org> | 2012-06-22 08:27:42 +0000 |
commit | a97e0be88b38483a36aa5101df08f370a5f53433 (patch) | |
tree | fd6651f55d8a6243a62ddf155dcc5478066d8a51 /src/java/org/apache/fop/afp/fonts/CharacterSetBuilder.java | |
parent | c36ffee9dfbf111899bbca5f994e334ca6b95011 (diff) | |
download | xmlgraphics-fop-a97e0be88b38483a36aa5101df08f370a5f53433.tar.gz xmlgraphics-fop-a97e0be88b38483a36aa5101df08f370a5f53433.zip |
Predominantly clean up and javadocs, very little functional change here
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1352800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/afp/fonts/CharacterSetBuilder.java')
-rw-r--r-- | src/java/org/apache/fop/afp/fonts/CharacterSetBuilder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/afp/fonts/CharacterSetBuilder.java b/src/java/org/apache/fop/afp/fonts/CharacterSetBuilder.java index e145de745..7331178f5 100644 --- a/src/java/org/apache/fop/afp/fonts/CharacterSetBuilder.java +++ b/src/java/org/apache/fop/afp/fonts/CharacterSetBuilder.java @@ -40,6 +40,7 @@ import org.apache.fop.afp.AFPConstants; import org.apache.fop.afp.AFPEventProducer; import org.apache.fop.afp.util.AFPResourceAccessor; import org.apache.fop.afp.util.StructuredFieldReader; +import org.apache.fop.apps.io.InternalResourceResolver; import org.apache.fop.fonts.Typeface; /** @@ -148,7 +149,7 @@ public abstract class CharacterSetBuilder { throws IOException { URI uri; try { - uri = new URI(uriStr.trim()); + uri = InternalResourceResolver.cleanURI(uriStr.trim()); } catch (URISyntaxException e) { throw new MalformedURLException("Invalid uri: " + uriStr + " (" + e.getMessage() + ")"); } |