Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2008-04-30 09:15:24 -0400
committermkuppe2008-04-30 09:15:24 -0400
commitd9b30368485d9f428b92f785d55618d6fd9f010a (patch)
treeff489a89b631e7f99cba7ad1b415a6d7eb3e56e1 /tests/bundles/org.eclipse.ecf.tests.provider.jslp
parent78416d91145c5352b48ea8c2670c8c767d13a006 (diff)
downloadorg.eclipse.ecf-d9b30368485d9f428b92f785d55618d6fd9f010a.tar.gz
org.eclipse.ecf-d9b30368485d9f428b92f785d55618d6fd9f010a.tar.xz
org.eclipse.ecf-d9b30368485d9f428b92f785d55618d6fd9f010a.zip
FIXED - bug 228882: [Discovery][slp][provider] SLP not getting service properties
https://bugs.eclipse.org/bugs/show_bug.cgi?id=228882
Diffstat (limited to 'tests/bundles/org.eclipse.ecf.tests.provider.jslp')
-rwxr-xr-xtests/bundles/org.eclipse.ecf.tests.provider.jslp/src/org/eclipse/ecf/tests/provider/jslp/JSLPTestComparator.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/bundles/org.eclipse.ecf.tests.provider.jslp/src/org/eclipse/ecf/tests/provider/jslp/JSLPTestComparator.java b/tests/bundles/org.eclipse.ecf.tests.provider.jslp/src/org/eclipse/ecf/tests/provider/jslp/JSLPTestComparator.java
index d315ac5b5..9989685ba 100755
--- a/tests/bundles/org.eclipse.ecf.tests.provider.jslp/src/org/eclipse/ecf/tests/provider/jslp/JSLPTestComparator.java
+++ b/tests/bundles/org.eclipse.ecf.tests.provider.jslp/src/org/eclipse/ecf/tests/provider/jslp/JSLPTestComparator.java
@@ -14,7 +14,6 @@ import java.net.InetAddress;
import java.net.URI;
import java.util.Arrays;
import java.util.Comparator;
-import java.util.Properties;
import org.eclipse.ecf.core.identity.Namespace;
import org.eclipse.ecf.discovery.IServiceInfo;
@@ -60,10 +59,8 @@ public class JSLPTestComparator implements Comparator {
URI firstLocation = first.getLocation();
URI secondLocation = second.getLocation();
boolean locationSame = firstLocation.equals(secondLocation);
- Properties firstProperties = first.getServiceProperties().asProperties();
- Properties secondProperties = second.getServiceProperties().asProperties();
boolean scopesSame = Arrays.equals(firstTypeID.getScopes(), secondTypeID.getScopes());
- boolean propertySame = firstProperties.equals(secondProperties);
+ boolean propertySame = first.getServiceProperties().equals(second.getServiceProperties());
boolean result = addressSame && namespaceSame && serviceSame && naSame && locationSame && scopesSame && propertySame;
if(result == true) {
return 0;

Back to the top