diff options
author | Ken J. Aguilar | 2010-10-13 19:39:04 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2010-10-13 19:39:04 +0000 |
commit | 95c52b8f983f97e0d60b71e80d6002db0b27bca3 (patch) | |
tree | b502d22046c75991afc82a6f4320b6bd0405b46d /plugins/org.eclipse.osee.ote.client | |
parent | 2a31a1ebce91900e86b826b96ffcab6d4089367e (diff) | |
download | org.eclipse.osee-95c52b8f983f97e0d60b71e80d6002db0b27bca3.tar.gz org.eclipse.osee-95c52b8f983f97e0d60b71e80d6002db0b27bca3.tar.xz org.eclipse.osee-95c52b8f983f97e0d60b71e80d6002db0b27bca3.zip |
refactor: Remove unused code
Diffstat (limited to 'plugins/org.eclipse.osee.ote.client')
3 files changed, 2 insertions, 16 deletions
diff --git a/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/Activator.java b/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/Activator.java index 67b6b509a05..3cc40a4e4b3 100644 --- a/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/Activator.java +++ b/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/Activator.java @@ -11,17 +11,15 @@ package org.eclipse.osee.ote.service; import java.util.logging.Level; + import org.eclipse.osee.framework.logging.OseeLog; import org.eclipse.osee.ote.service.core.ConnectionServiceTracker; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; -import org.osgi.framework.ServiceRegistration; public class Activator implements BundleActivator { - private ServiceRegistration registration; private ConnectionServiceTracker connectionServiceTracker; - private MessagingGatewayBindTracker messagingGatewayTracker; private ExportClassLoaderCreationTracker exportClassLoaderCreationTracker; @Override diff --git a/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/SessionDelegate.java b/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/SessionDelegate.java index 816f3f1723d..b04ae744daf 100644 --- a/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/SessionDelegate.java +++ b/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/SessionDelegate.java @@ -40,5 +40,4 @@ public interface SessionDelegate { long getFileDate(String path) throws Exception; - String getFileVersion(String path) throws Exception; } diff --git a/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/ClientSession.java b/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/ClientSession.java index 51428218f41..e2deea5b0da 100644 --- a/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/ClientSession.java +++ b/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/ClientSession.java @@ -15,6 +15,7 @@ import java.rmi.RemoteException; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.ReentrantLock; import java.util.logging.Level; + import org.eclipse.osee.connection.service.IServiceConnector; import org.eclipse.osee.framework.logging.OseeLevel; import org.eclipse.osee.framework.logging.OseeLog; @@ -81,18 +82,6 @@ public class ClientSession extends AbstractRemoteSession { } @Override - public String getFileVersion(String workspacePath) throws RemoteException { - if (sessionDelegate != null) { - try { - return sessionDelegate.getFileVersion(workspacePath); - } catch (Exception ex) { - throw new RemoteException("failed to get the file version" + workspacePath, ex); - } - } - throw new IllegalStateException("session delegate not set"); - } - - @Override public boolean isAlive() throws RemoteException { try { if (lock.tryLock(TIMEOUT, TimeUnit.MINUTES)) { |