Author: richard.opalka(a)jboss.com
Date: 2010-03-19 05:02:11 -0400 (Fri, 19 Mar 2010)
New Revision: 11809
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/management/recording/RecordGroupAssociation.java
spi/trunk/src/main/java/org/jboss/wsf/spi/tools/WSContractConsumer.java
spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSConsume.java
spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSProvide.java
spi/trunk/src/main/java/org/jboss/wsf/spi/util/URLLoaderAdapter.java
Log:
[JBWS-2968] removing most of compilation warnings
Modified:
spi/trunk/src/main/java/org/jboss/wsf/spi/management/recording/RecordGroupAssociation.java
===================================================================
---
spi/trunk/src/main/java/org/jboss/wsf/spi/management/recording/RecordGroupAssociation.java 2010-03-18
21:34:08 UTC (rev 11808)
+++
spi/trunk/src/main/java/org/jboss/wsf/spi/management/recording/RecordGroupAssociation.java 2010-03-19
09:02:11 UTC (rev 11809)
@@ -41,7 +41,7 @@
public static void pushGroupID(String groupID)
{
- if(log.isDebugEnabled()) log.debug("pushGroupID: " + groupID + "
(Thread " +Thread.currentThread().getName()+ ")");
+ if(log.isTraceEnabled()) log.trace("pushGroupID: " + groupID + "
(Thread " +Thread.currentThread().getName()+ ")");
Stack<String> stack = groupIDAssoc.get();
if (stack == null)
{
@@ -59,7 +59,7 @@
{
groupID = stack.peek();
}
- if(log.isDebugEnabled()) log.debug("peekGroupID: " + groupID + "
(Thread " +Thread.currentThread().getName()+ ")");
+ if(log.isTraceEnabled()) log.trace("peekGroupID: " + groupID + "
(Thread " +Thread.currentThread().getName()+ ")");
return groupID;
}
@@ -71,7 +71,7 @@
{
groupID = stack.pop();
}
- if(log.isDebugEnabled()) log.debug("popGroupID: " + groupID +"
(Thread " +Thread.currentThread().getName()+ ")");
+ if(log.isTraceEnabled()) log.trace("popGroupID: " + groupID +"
(Thread " +Thread.currentThread().getName()+ ")");
return groupID;
}
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/tools/WSContractConsumer.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/tools/WSContractConsumer.java 2010-03-18
21:34:08 UTC (rev 11808)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/tools/WSContractConsumer.java 2010-03-19
09:02:11 UTC (rev 11809)
@@ -204,7 +204,7 @@
catch (MalformedURLException e)
{
File file = new File(wsdl);
- url = file.toURL();
+ url = file.toURI().toURL();
}
consume(url);
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSConsume.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSConsume.java 2010-03-18 21:34:08
UTC (rev 11808)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSConsume.java 2010-03-19 09:02:11
UTC (rev 11809)
@@ -190,7 +190,7 @@
catch (MalformedURLException e)
{
File file = new File(args[wsdlPos]);
- url = file.toURL();
+ url = file.toURI().toURL();
}
}
catch (MalformedURLException e)
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSProvide.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSProvide.java 2010-03-18 21:34:08
UTC (rev 11808)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/tools/cmd/WSProvide.java 2010-03-19 09:02:11
UTC (rev 11809)
@@ -219,7 +219,7 @@
{
try
{
- urls.add(new File(entry).toURL());
+ urls.add(new File(entry).toURI().toURL());
}
catch (MalformedURLException e)
{
Modified: spi/trunk/src/main/java/org/jboss/wsf/spi/util/URLLoaderAdapter.java
===================================================================
--- spi/trunk/src/main/java/org/jboss/wsf/spi/util/URLLoaderAdapter.java 2010-03-18
21:34:08 UTC (rev 11808)
+++ spi/trunk/src/main/java/org/jboss/wsf/spi/util/URLLoaderAdapter.java 2010-03-19
09:02:11 UTC (rev 11809)
@@ -92,7 +92,7 @@
{
File file = new File(resourcePath);
if (file.exists())
- resourceURL = file.toURL();
+ resourceURL = file.toURI().toURL();
}
catch (MalformedURLException e)
{
@@ -218,7 +218,7 @@
{
for (File f : files)
{
- list.add(new URLLoaderAdapter(rootURL, loader, f.toURL()));
+ list.add(new URLLoaderAdapter(rootURL, loader, f.toURI().toURL()));
}
}
}
Show replies by date