Author: jim.ma
Date: 2012-07-10 06:39:20 -0400 (Tue, 10 Jul 2012)
New Revision: 16447
Modified:
thirdparty/cxf/branches/cxf-2.2.12/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java
Log:
Fix checkstyle error
Modified:
thirdparty/cxf/branches/cxf-2.2.12/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java
===================================================================
---
thirdparty/cxf/branches/cxf-2.2.12/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java 2012-07-09
16:36:47 UTC (rev 16446)
+++
thirdparty/cxf/branches/cxf-2.2.12/rt/core/src/main/java/org/apache/cxf/transport/http/WSDLQueryHandler.java 2012-07-10
10:39:20 UTC (rev 16447)
@@ -311,8 +311,8 @@
for (Element el : elementList) {
String name = el.getAttribute("name");
if (name.equals(ei.getName().getLocalPart())) {
- rewriteAddress(base, el,
"http://schemas.xmlsoap.org/wsdl/soap/");
- rewriteAddress(base, el,
"http://schemas.xmlsoap.org/wsdl/soap12/");
+ rewriteAddress(base, el,
"http://schemas.xmlsoap.org/wsdl/soap/");
+ rewriteAddress(base, el,
"http://schemas.xmlsoap.org/wsdl/soap12/");
}
}
}
@@ -326,12 +326,11 @@
}
private void rewriteAddress(String base, Element el, String soapNS) {
- List<Element> sadEls = DOMUtils.findAllElementsByTagNameNS(el,soapNS,
- "address");
- for (Element soapAddress : sadEls) {
- soapAddress.setAttribute("location", base);
- }
- }
+ List<Element> sadEls = DOMUtils.findAllElementsByTagNameNS(el, soapNS,
"address");
+ for (Element soapAddress : sadEls) {
+ soapAddress.setAttribute("location", base);
+ }
+ }
static String resolveWithCatalogs(OASISCatalogManager catalogs, String start, String
base) {
if (catalogs == null) {
Show replies by date