Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.net4j.buddies.server')
-rw-r--r--plugins/org.eclipse.net4j.buddies.server/META-INF/MANIFEST.MF12
-rw-r--r--plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/ServerSession.java11
2 files changed, 9 insertions, 14 deletions
diff --git a/plugins/org.eclipse.net4j.buddies.server/META-INF/MANIFEST.MF b/plugins/org.eclipse.net4j.buddies.server/META-INF/MANIFEST.MF
index 88a95807ae..bf141012fa 100644
--- a/plugins/org.eclipse.net4j.buddies.server/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.net4j.buddies.server/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.net4j.buddies.server;singleton:=true
-Bundle-Version: 4.0.300.qualifier
+Bundle-Version: 4.0.400.qualifier
Bundle-Vendor: %providerName
Bundle-Activator: org.eclipse.net4j.buddies.internal.server.bundle.OM$Activator
Bundle-ClassPath: .
@@ -10,9 +10,9 @@ Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.5.0,4.0.0)";resolution:=optional,
org.eclipse.net4j.buddies.common;bundle-version="[4.0.0,5.0.0)";visibility:=reexport
-Export-Package: org.eclipse.net4j.buddies.internal.server;version="4.0.300";x-internal:=true,
- org.eclipse.net4j.buddies.internal.server.bundle;version="4.0.300";x-internal:=true,
- org.eclipse.net4j.buddies.internal.server.messages;version="4.0.300";x-internal:=true,
- org.eclipse.net4j.buddies.internal.server.protocol;version="4.0.300";x-internal:=true,
- org.eclipse.net4j.buddies.server;version="4.0.300"
+Export-Package: org.eclipse.net4j.buddies.internal.server;version="4.0.400";x-internal:=true,
+ org.eclipse.net4j.buddies.internal.server.bundle;version="4.0.400";x-internal:=true,
+ org.eclipse.net4j.buddies.internal.server.messages;version="4.0.400";x-internal:=true,
+ org.eclipse.net4j.buddies.internal.server.protocol;version="4.0.400";x-internal:=true,
+ org.eclipse.net4j.buddies.server;version="4.0.400"
Bundle-ActivationPolicy: lazy
diff --git a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/ServerSession.java b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/ServerSession.java
index b85bc24bfa..39c1e60fa4 100644
--- a/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/ServerSession.java
+++ b/plugins/org.eclipse.net4j.buddies.server/src/org/eclipse/net4j/buddies/internal/server/ServerSession.java
@@ -13,6 +13,7 @@ package org.eclipse.net4j.buddies.internal.server;
import org.eclipse.net4j.buddies.common.IBuddy;
import org.eclipse.net4j.buddies.common.ISession;
import org.eclipse.net4j.buddies.internal.server.protocol.BuddiesServerProtocol;
+import org.eclipse.net4j.util.AdapterUtil;
import org.eclipse.net4j.util.event.IEvent;
import org.eclipse.net4j.util.event.IListener;
import org.eclipse.net4j.util.lifecycle.ILifecycleEvent;
@@ -20,9 +21,6 @@ import org.eclipse.net4j.util.lifecycle.Lifecycle;
import org.eclipse.net4j.util.lifecycle.LifecycleUtil;
import org.eclipse.net4j.util.om.log.OMLogger;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.core.runtime.PlatformObject;
-
/**
* @author Eike Stepper
*/
@@ -61,13 +59,10 @@ public class ServerSession extends Lifecycle implements ISession, IListener
LifecycleUtil.deactivate(this, OMLogger.Level.DEBUG);
}
- /**
- * @see PlatformObject#getAdapter(Class)
- */
- @SuppressWarnings("rawtypes")
+ @SuppressWarnings({ "unchecked", "rawtypes" })
public Object getAdapter(Class adapter)
{
- return Platform.getAdapterManager().getAdapter(this, adapter);
+ return AdapterUtil.adapt(this, adapter);
}
public void notifyEvent(IEvent event)

Back to the top