Author: richard.opalka(a)jboss.com
Date: 2010-03-19 05:54:59 -0400 (Fri, 19 Mar 2010)
New Revision: 11813
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/HandlerResolverImpl.java
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFProviderImpl.java
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBeans.java
Log:
[JBWS-2968] removing most of compilation warnings
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/HandlerResolverImpl.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/HandlerResolverImpl.java 2010-03-19
09:41:01 UTC (rev 11812)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/client/HandlerResolverImpl.java 2010-03-19
09:54:59 UTC (rev 11813)
@@ -311,7 +311,7 @@
{
File file = new File(filename);
if (file.exists())
- fileURL = file.toURL();
+ fileURL = file.toURI().toURL();
}
catch (MalformedURLException e)
{
Modified:
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFProviderImpl.java
===================================================================
---
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFProviderImpl.java 2010-03-19
09:41:01 UTC (rev 11812)
+++
stack/cxf/trunk/modules/client/src/main/java/org/jboss/wsf/stack/cxf/tools/CXFProviderImpl.java 2010-03-19
09:54:59 UTC (rev 11813)
@@ -30,6 +30,7 @@
import org.apache.cxf.tools.java2ws.JavaToWS;
import org.jboss.ws.tools.io.NullPrintStream;
+import org.jboss.wsf.common.DOMUtils;
import org.jboss.wsf.spi.tools.WSContractProvider;
import org.w3c.dom.Element;
@@ -250,12 +251,12 @@
+ "</log4j:configuration>";
try
{
- Element element =
javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new
java.io.StringBufferInputStream(xmlConfig)).getDocumentElement();
+ Element element = DOMUtils.parse(xmlConfig);
org.apache.log4j.xml.DOMConfigurator.configure(element);
}
catch (Exception e)
{
- //igonre
+ //ignore
}
}
}
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBeans.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBeans.java 2010-03-19
09:41:01 UTC (rev 11812)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/metadata/services/DDBeans.java 2010-03-19
09:54:59 UTC (rev 11813)
@@ -80,7 +80,7 @@
writeTo(writer);
writer.close();
- return tmpFile.toURL();
+ return tmpFile.toURI().toURL();
}
catch (IOException ex)
{