Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-01-26 19:29:53 -0500
committerslewis2009-01-26 19:29:53 -0500
commit5e0cf278e7d13de3e1ce689a955e7c40d7e81cab (patch)
tree413e8a190c3cf4d2d730376b6a3a293888ed6705 /providers/bundles/org.eclipse.ecf.provider.xmpp
parent4211fd2612ab4fc174d37d94c208c8c85431ed2d (diff)
downloadorg.eclipse.ecf-5e0cf278e7d13de3e1ce689a955e7c40d7e81cab.tar.gz
org.eclipse.ecf-5e0cf278e7d13de3e1ce689a955e7c40d7e81cab.tar.xz
org.eclipse.ecf-5e0cf278e7d13de3e1ce689a955e7c40d7e81cab.zip
Removed AbstractUserSearchManager.createUserSearchListener method and impls
Diffstat (limited to 'providers/bundles/org.eclipse.ecf.provider.xmpp')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPUserSearchManager.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPUserSearchManager.java b/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPUserSearchManager.java
index 7cccd31ee..21a85b4fa 100644
--- a/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPUserSearchManager.java
+++ b/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPUserSearchManager.java
@@ -41,7 +41,6 @@ import org.eclipse.ecf.presence.search.ResultList;
import org.eclipse.ecf.presence.search.UserSearchCompleteEvent;
import org.eclipse.ecf.presence.search.UserSearchException;
import org.eclipse.ecf.provider.xmpp.identity.XMPPID;
-import org.eclipse.osgi.util.NLS;
import org.jivesoftware.smack.XMPPException;
import org.jivesoftware.smackx.Form;
import org.jivesoftware.smackx.FormField;
@@ -302,14 +301,6 @@ public class XMPPUserSearchManager extends AbstractUserSearchManager {
this.enabled = enabled;
}
- /**
- * @see AbstractUserSearchManager#createUserSearchListener
- */
- public IUserSearchListener createUserSearchListener() {
- return new UserListener();
-
- }
-
// utility methods
protected void log(String msg, Throwable e) {
XmppPlugin.log(msg, e);
@@ -326,28 +317,4 @@ public class XMPPUserSearchManager extends AbstractUserSearchManager {
super.fireUserSearchEvent(event);
}
- /**
- * Returns a default implementation for IUserSearchListner
- *
- * @return IUserSearchListener
- */
-
- class UserListener implements IUserSearchListener {
-
- public void handleUserSearchEvent(IUserSearchEvent event) {
- try {
-
- ISearch searchResult = search(criteria);
- fireUserSearchEvent(new UserSearchCompleteEvent(searchResult));
-
- } catch (UserSearchException e) {
- log(NLS.bind(
- Messages.XMPPContainer_EXCEPTION_HANDLING_ASYCH_EVENT,
- e), e);
- }
-
- }
-
- }
-
}

Back to the top