You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2006/12/28 17:30:37 UTC

svn commit: r490756 - in /incubator/tuscany/java/sca/runtime/standalone/server.start: pom.xml src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java

Author: jboynes
Date: Thu Dec 28 08:30:36 2006
New Revision: 490756

URL: http://svn.apache.org/viewvc?view=rev&rev=490756
Log:
remove dependency on commons-io

Modified:
    incubator/tuscany/java/sca/runtime/standalone/server.start/pom.xml
    incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java

Modified: incubator/tuscany/java/sca/runtime/standalone/server.start/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/runtime/standalone/server.start/pom.xml?view=diff&rev=490756&r1=490755&r2=490756
==============================================================================
--- incubator/tuscany/java/sca/runtime/standalone/server.start/pom.xml (original)
+++ incubator/tuscany/java/sca/runtime/standalone/server.start/pom.xml Thu Dec 28 08:30:36 2006
@@ -47,11 +47,6 @@
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
         </dependency>
-        <dependency>
-            <groupId>commons-io</groupId>
-            <artifactId>commons-io</artifactId>
-            <version>1.2</version>
-        </dependency>
     </dependencies>
 
     <build>

Modified: incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java?view=diff&rev=490756&r1=490755&r2=490756
==============================================================================
--- incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java (original)
+++ incubator/tuscany/java/sca/runtime/standalone/server.start/src/main/java/org/apache/tuscany/standalone/server/TuscanyServer.java Thu Dec 28 08:30:36 2006
@@ -28,7 +28,6 @@
 import java.net.URLClassLoader;
 import java.util.Properties;
 
-import org.apache.commons.io.IOUtils;
 import org.apache.tuscany.host.runtime.InitializationException;
 import org.apache.tuscany.host.runtime.TuscanyRuntime;
 import org.apache.tuscany.host.util.LaunchHelper;
@@ -216,7 +215,13 @@
         } catch(IOException ex) {
             throw new TuscanyServerException(ex);
         } finally {
-            IOUtils.closeQuietly(in);
+            if (in != null) {
+                try {
+                    in.close();
+                } catch (IOException e) {
+                    // ignore
+                }
+            }
         }
         
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org