Skip to content

Commit

Permalink
Eliminate call to inefficient String(String) constructor.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@1225432 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Michael Glavassevich committed Dec 29, 2011
1 parent 5981546 commit c0a6a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/apache/xalan/xsltc/trax/TransformerImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ public DOM retrieveDocument(String baseURI, String href, Translet translet) {
try {
// Argument to document function was: document('');
if (href.length() == 0) {
href = new String(baseURI);
href = baseURI;
}

/*
Expand Down

0 comments on commit c0a6a2f

Please sign in to comment.