From 89c41da4671379c7db43c1df91dc074760e0dbfd Mon Sep 17 00:00:00 2001 From: antelder Date: Sat, 22 May 2010 07:02:51 +0000 Subject: Remove now unused method git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@947258 13f79535-47bb-0310-9956-ffa450edef68 --- .../tuscany/sca/something/impl/Section10Impl.java | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'sca-java-2.x/contrib/modules/section10/src/main/java/org/apache') diff --git a/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java b/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java index 608a131505..1f6f7d84f2 100644 --- a/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java +++ b/sca-java-2.x/contrib/modules/section10/src/main/java/org/apache/tuscany/sca/something/impl/Section10Impl.java @@ -39,15 +39,12 @@ import org.apache.tuscany.sca.contribution.Contribution; import org.apache.tuscany.sca.contribution.processor.ContributionReadException; import org.apache.tuscany.sca.deployment.Deployer; import org.apache.tuscany.sca.monitor.Monitor; -import org.apache.tuscany.sca.monitor.Problem; -import org.apache.tuscany.sca.monitor.Problem.Severity; import org.apache.tuscany.sca.node.NodeFactory; import org.apache.tuscany.sca.node.impl.NodeFactoryImpl; import org.apache.tuscany.sca.runtime.ActivationException; import org.apache.tuscany.sca.something.Section10; import org.oasisopen.sca.NoSuchDomainException; import org.oasisopen.sca.NoSuchServiceException; -import org.oasisopen.sca.ServiceRuntimeException; import org.oasisopen.sca.client.SCAClientFactory; public class Section10Impl implements Section10 { @@ -247,22 +244,4 @@ public class Section10Impl implements Section10 { throw new ContributionReadException(e); } } - - protected void analyzeProblems(Monitor monitor) throws Throwable { - try { - for (Problem problem : monitor.getProblems()) { - if ((problem.getSeverity() == Severity.ERROR)) { - if (problem.getCause() != null) { - throw problem.getCause(); - } else { - throw new ServiceRuntimeException(problem.toString()); - } - } - } - } finally { - // FIXME: Clear problems so that the monitor is clean again - monitor.reset(); - } - } - } -- cgit v1.2.3