summaryrefslogtreecommitdiffstats
path: root/java/sca/samples/dosgi-calculator-operations
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-04-08 16:40:47 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-04-08 16:40:47 +0000
commit61170b8dcdba066dd044d176de9f78f9791cafa1 (patch)
treecb7b497f287c109029fc4e9a75d34991399a7ff8 /java/sca/samples/dosgi-calculator-operations
parent5e14afc7f6581564d8c9de0b75fba4fa6fe2f702 (diff)
Remove unused code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@763309 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/dosgi-calculator-operations')
-rw-r--r--java/sca/samples/dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsOSGiNodeTestCase.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/java/sca/samples/dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsOSGiNodeTestCase.java b/java/sca/samples/dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsOSGiNodeTestCase.java
index 830e5afdee..bca04d11a4 100644
--- a/java/sca/samples/dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsOSGiNodeTestCase.java
+++ b/java/sca/samples/dosgi-calculator-operations/src/test/java/calculator/dosgi/operations/test/OperationsOSGiNodeTestCase.java
@@ -21,11 +21,8 @@ package calculator.dosgi.operations.test;
import static calculator.dosgi.operations.test.OSGiTestUtils.bundleStatus;
-import java.net.URL;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
-import java.security.AccessController;
-import java.security.PrivilegedAction;
import org.apache.tuscany.sca.node.equinox.launcher.EquinoxHost;
import org.junit.AfterClass;
@@ -46,14 +43,6 @@ public class OperationsOSGiNodeTestCase {
private static BundleContext context;
private static Bundle operationsBundle;
- public static URL getCodeLocation(final Class<?> anchorClass) {
- return AccessController.doPrivileged(new PrivilegedAction<URL>() {
- public URL run() {
- return anchorClass.getProtectionDomain().getCodeSource().getLocation();
- }
- });
- }
-
/**
* @throws java.lang.Exception
*/