Skip to content

Commit

Permalink
Eliminate warnings in launch decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
merks committed Aug 4, 2023
1 parent 42d32dc commit 73b8b17
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion features/org.eclipse.oomph.launches-feature/feature.xml
Expand Up @@ -12,7 +12,7 @@
<feature
id="org.eclipse.oomph.launches"
label="%featureName"
version="1.14.0.qualifier"
version="1.15.0.qualifier"
provider-name="%providerName"
license-feature="org.eclipse.oomph.license"
license-feature-version="0.0.0">
Expand Down
2 changes: 1 addition & 1 deletion features/org.eclipse.oomph.launches-feature/pom.xml
Expand Up @@ -20,6 +20,6 @@
</parent>
<groupId>org.eclipse.oomph.features</groupId>
<artifactId>org.eclipse.oomph.launches</artifactId>
<version>1.14.0-SNAPSHOT</version>
<version>1.15.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
6 changes: 3 additions & 3 deletions plugins/org.eclipse.oomph.launches/META-INF/MANIFEST.MF
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.eclipse.oomph.launches;singleton:=true
Bundle-Version: 1.12.0.qualifier
Bundle-Version: 1.13.0.qualifier
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand All @@ -11,8 +11,8 @@ Require-Bundle: org.eclipse.ui;bundle-version="[3.7.0,4.0.0)",
org.eclipse.core.resources;bundle-version="[3.5.0,4.0.0)",
org.eclipse.debug.core;bundle-version="[3.5.0,4.0.0)",
org.eclipse.jdt.junit.core;bundle-version="[3.5.0,4.0.0)";resolution:=optional,
org.eclipse.oomph.util;bundle-version="[1.18.0,2.0.0)"
org.eclipse.oomph.util;bundle-version="[1.20.0,2.0.0)"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-11
Export-Package: org.eclipse.oomph.launches;version="1.12.0";x-internal:=true
Export-Package: org.eclipse.oomph.launches;version="1.13.0";x-internal:=true
Automatic-Module-Name: org.eclipse.oomph.launches
2 changes: 1 addition & 1 deletion plugins/org.eclipse.oomph.launches/pom.xml
Expand Up @@ -20,7 +20,7 @@
</parent>
<groupId>org.eclipse.oomph</groupId>
<artifactId>org.eclipse.oomph.launches</artifactId>
<version>1.12.0-SNAPSHOT</version>
<version>1.13.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>

<build>
Expand Down
Expand Up @@ -57,13 +57,13 @@ public Image decorateImage(Image image, Object element)
if (isLocal(element))
{
DecorationOverlayIcon icon = new DecorationOverlayIcon(image, LOCAL_OVERLAY, IDecoration.TOP_LEFT);
return (Image)resourceManager.get(icon);
return resourceManager.get(icon);
}

if (isExampleCopy(element))
{
DecorationOverlayIcon icon = new DecorationOverlayIcon(image, EXAMPLE_OVERLAY, IDecoration.TOP_LEFT);
return (Image)resourceManager.get(icon);
return resourceManager.get(icon);
}
}

Expand Down

0 comments on commit 73b8b17

Please sign in to comment.