Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericDescriptionImpl.java')
-rw-r--r--bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericDescriptionImpl.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericDescriptionImpl.java b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericDescriptionImpl.java
index aaa1b1136..6c97a19ff 100644
--- a/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericDescriptionImpl.java
+++ b/bundles/org.eclipse.osgi.compatibility.state/src/org/eclipse/osgi/internal/resolver/GenericDescriptionImpl.java
@@ -74,6 +74,7 @@ public class GenericDescriptionImpl extends BaseDescriptionImpl implements Gener
this.supplier = supplier;
}
+ @Override
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append(Constants.PROVIDE_CAPABILITY).append(": ").append(getType()); //$NON-NLS-1$
@@ -85,6 +86,7 @@ public class GenericDescriptionImpl extends BaseDescriptionImpl implements Gener
/**
* @deprecated
*/
+ @Override
public String getName() {
synchronized (this.monitor) {
Object name = attributes != null ? attributes.get(getType()) : null;
@@ -106,6 +108,7 @@ public class GenericDescriptionImpl extends BaseDescriptionImpl implements Gener
/**
* @deprecated
*/
+ @Override
public Version getVersion() {
Object version = attributes != null ? attributes.get(Constants.VERSION_ATTRIBUTE) : null;
return version instanceof Version ? (Version) version : super.getVersion();
@@ -134,10 +137,12 @@ public class GenericDescriptionImpl extends BaseDescriptionImpl implements Gener
}
}
+ @Override
String getInternalNameSpace() {
return getType();
}
+ @Override
public BaseDescription getFragmentDeclaration() {
return fragmentDeclaration;
}

Back to the top