diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-18 19:59:00 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-11-18 19:59:00 +0000 |
commit | 146d6718330958411e6b7709e3da9fcab106b576 (patch) | |
tree | a7ae72c7ac982ffcba1abd2b8b8378a65fc2a20a /branches/sca-equinox/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java | |
parent | fd1e691cc0131f2f11d870cf3d858491818d3778 (diff) |
Fix the duplicate export package from 3rd party jars
Remove the version from javax.xml.stream Import-Package
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@718696 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java')
-rw-r--r-- | branches/sca-equinox/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/branches/sca-equinox/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java b/branches/sca-equinox/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java index 3d33782a29..bb77b77d0c 100644 --- a/branches/sca-equinox/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java +++ b/branches/sca-equinox/modules/extensibility-equinox/src/main/java/org/apache/tuscany/sca/extensibility/equinox/EquinoxServiceDiscoverer.java @@ -23,15 +23,11 @@ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; -import java.lang.reflect.InvocationTargetException; -import java.lang.reflect.Method; import java.net.URL; import java.security.AccessController; import java.security.PrivilegedAction; import java.security.PrivilegedActionException; import java.security.PrivilegedExceptionAction; -import java.util.Arrays; -import java.util.Collections; import java.util.Enumeration; import java.util.HashMap; import java.util.HashSet; @@ -224,7 +220,7 @@ public class EquinoxServiceDiscoverer implements ServiceDiscoverer { try { bundle.start(); } catch (BundleException e) { - throw new IllegalStateException(e); + logger.log(Level.SEVERE, e.getMessage(), e); } // urls = Collections.enumeration(Arrays.asList(entry)); } |