Removing JDK 5 specific code (String isEmpty)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@898098 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1e9f9b1ecf
commit
e90d1eb36c
1 changed files with 1 additions and 2 deletions
|
@ -739,8 +739,7 @@ public class Interface2WSDLGenerator {
|
|||
// double check that there is a "tns" namespace shortname specified
|
||||
String tnsNamespace = refSchema.getDocumentElement().getAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:tns");
|
||||
|
||||
if (tnsNamespace == null ||
|
||||
tnsNamespace.isEmpty()){
|
||||
if (tnsNamespace == null || tnsNamespace.length() == 0) {
|
||||
refSchema.getDocumentElement().setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:tns", defaultNamespace);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue