diff options
Diffstat (limited to 'bundles/org.eclipse.osgi.tests/bundles_src/ext.framework.b/ext/framework/b/TestCondition.java')
-rw-r--r-- | bundles/org.eclipse.osgi.tests/bundles_src/ext.framework.b/ext/framework/b/TestCondition.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi.tests/bundles_src/ext.framework.b/ext/framework/b/TestCondition.java b/bundles/org.eclipse.osgi.tests/bundles_src/ext.framework.b/ext/framework/b/TestCondition.java index 23f48af65..24f202b38 100644 --- a/bundles/org.eclipse.osgi.tests/bundles_src/ext.framework.b/ext/framework/b/TestCondition.java +++ b/bundles/org.eclipse.osgi.tests/bundles_src/ext.framework.b/ext/framework/b/TestCondition.java @@ -99,10 +99,12 @@ public class TestCondition implements Condition { return true; } + @Override public int hashCode() { return id.hashCode(); } + @Override public boolean equals(Object o) { if (!(o instanceof TestCondition)) return false; @@ -126,6 +128,7 @@ public class TestCondition implements Condition { return bundle; } + @Override public String toString() { return id + '-' + postponed + '-' + mutable + '-' + satisfied; } |