src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/transforms/params/InclusiveNamespaces.java

Print this page
rev 10521 : 8055723[core]: Replace concat String to append in StringBuilder parameters
Contributed-by: Otavio Santana <otaviojava@java.net>

*** 83,93 **** StringBuilder sb = new StringBuilder(); for (String prefix : prefixList) { if (prefix.equals("xmlns")) { sb.append("#default "); } else { ! sb.append(prefix + " "); } } this.constructionElement.setAttributeNS( null, InclusiveNamespaces._ATT_EC_PREFIXLIST, sb.toString().trim()); --- 83,93 ---- StringBuilder sb = new StringBuilder(); for (String prefix : prefixList) { if (prefix.equals("xmlns")) { sb.append("#default "); } else { ! sb.append(prefix).append(' '); } } this.constructionElement.setAttributeNS( null, InclusiveNamespaces._ATT_EC_PREFIXLIST, sb.toString().trim());