Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Hammer2019-05-08 19:17:38 +0000
committerThomas Watson2019-05-16 14:07:43 +0000
commit3b63527921acfe7c78cce6b84ab8e869ef17f230 (patch)
treed92a825232ce414f139b4ec862e628b1b57c35ca /bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/UserState.java
parent06d5ba9879305c04d1d7e5076d67a38af2ef3a66 (diff)
downloadrt.equinox.framework-3b63527921acfe7c78cce6b84ab8e869ef17f230.tar.gz
rt.equinox.framework-3b63527921acfe7c78cce6b84ab8e869ef17f230.tar.xz
rt.equinox.framework-3b63527921acfe7c78cce6b84ab8e869ef17f230.zip
Change-Id: I4ef764e744192dc3564ad053e8984e891aadfe44 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
Diffstat (limited to 'bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/UserState.java')
-rw-r--r--bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/UserState.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/UserState.java b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/UserState.java
index fe03e185c..3ea2d5030 100644
--- a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/UserState.java
+++ b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/UserState.java
@@ -25,6 +25,7 @@ public class UserState extends StateImpl {
// TODO this is not an accurate way to record updates
private final Set<String> updated = Collections.synchronizedSet(new HashSet<String>());
+ @Override
public boolean removeBundle(BundleDescription description) {
if (description.getLocation() != null)
updated.remove(description.getLocation());
@@ -33,6 +34,7 @@ public class UserState extends StateImpl {
return true;
}
+ @Override
public boolean updateBundle(BundleDescription newDescription) {
if (!super.updateBundle(newDescription))
return false;

Back to the top