Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-01-26 19:12:58 -0500
committerslewis2009-01-26 19:12:58 -0500
commit93c9e3f923d7db0dfb2c3f6c7fda0fc68fbc4559 (patch)
tree1ba7cc9c482b2539d96c7134f3a07d95c0ab60d7 /providers/bundles/org.eclipse.ecf.provider.xmpp
parentfec27bf25c34058eb1a872df513d3eea173f1195 (diff)
downloadorg.eclipse.ecf-93c9e3f923d7db0dfb2c3f6c7fda0fc68fbc4559.tar.gz
org.eclipse.ecf-93c9e3f923d7db0dfb2c3f6c7fda0fc68fbc4559.tar.xz
org.eclipse.ecf-93c9e3f923d7db0dfb2c3f6c7fda0fc68fbc4559.zip
Fixes for IResultList.geResults to getResults()
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/XMPPCriteria.java2
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPSearch.java5
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPUserSearchManager.java2
3 files changed, 7 insertions, 2 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPCriteria.java b/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPCriteria.java
index f6ca0c4ee..91d329cc1 100644
--- a/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPCriteria.java
+++ b/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPCriteria.java
@@ -66,7 +66,7 @@ public class XMPPCriteria implements ICriteria {
sb.append(criterion.toString());
sb.append("];");//$NON-NLS-1$
}
- sb.append("];");//$NON-NLS-1$
+ sb.append("]");//$NON-NLS-1$
return sb.toString();
}
diff --git a/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPSearch.java b/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPSearch.java
index 34be81dfa..ecabe6224 100644
--- a/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPSearch.java
+++ b/providers/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/search/XMPPSearch.java
@@ -49,4 +49,9 @@ public class XMPPSearch implements ISearch {
}
+ public String toString() {
+ StringBuffer sb = new StringBuffer("XMPPSearch["); //$NON-NLS-1$
+ sb.append("criteria=").append(getCriteria()).append(";resultlist=").append(getResultList()).append("]"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ return sb.toString();
+ }
}
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 530223591..d367db525 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
@@ -149,7 +149,7 @@ public class XMPPUserSearchManager extends AbstractUserSearchManager {
.getServiceName());
// create a result list from ReportedData
IResultList partialResultList = createResultList(data);
- resultList.addAll(partialResultList.geResults());
+ resultList.addAll(partialResultList.getResults());
}
}
}

Back to the top