Author: richard.opalka(a)jboss.com
Date: 2010-03-19 06:00:35 -0400 (Fri, 19 Mar 2010)
New Revision: 11814
Modified:
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/client/HandlerResolverImpl.java
stack/metro/trunk/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/sunjaxws/DDEndpoints.java
Log:
[JBWS-2968] removing most of compilation warnings
Modified:
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/client/HandlerResolverImpl.java
===================================================================
---
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/client/HandlerResolverImpl.java 2010-03-19
09:54:59 UTC (rev 11813)
+++
stack/metro/trunk/modules/client/src/main/java/org/jboss/wsf/stack/metro/client/HandlerResolverImpl.java 2010-03-19
10:00:35 UTC (rev 11814)
@@ -93,7 +93,7 @@
{
File file = new File(filename);
if (file.exists())
- fileURL = file.toURL();
+ fileURL = file.toURI().toURL();
}
catch (MalformedURLException e)
{
Modified:
stack/metro/trunk/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/sunjaxws/DDEndpoints.java
===================================================================
---
stack/metro/trunk/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/sunjaxws/DDEndpoints.java 2010-03-19
09:54:59 UTC (rev 11813)
+++
stack/metro/trunk/modules/server/src/main/java/org/jboss/wsf/stack/metro/metadata/sunjaxws/DDEndpoints.java 2010-03-19
10:00:35 UTC (rev 11814)
@@ -66,7 +66,7 @@
writeTo(writer);
writer.close();
- return tmpFile.toURL();
+ return tmpFile.toURI().toURL();
}
catch (IOException ex)
{