Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Pazderski2020-01-13 15:41:24 +0000
committerPaul Pazderski2020-01-13 15:49:11 +0000
commitcf7a4867309401b9b4bb97fd4ba769a113696aa7 (patch)
tree7d9beeb73c3ada94f3cb7e0e4a4df31414148e41
parent492af0407faf9dc981b28d99abff4642d126534c (diff)
downloadeclipse.platform.debug-I20200113-1800.tar.gz
eclipse.platform.debug-I20200113-1800.tar.xz
eclipse.platform.debug-I20200113-1800.zip
Bug 559097 - Compile warnings in I20200113-0130Y20200114-0045I20200113-1800
Change-Id: I9dd25d7fe0d02a13f9cd3466756ada5a1b8a901f Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
-rw-r--r--org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/midi/launcher/SequencerControl.java2
-rw-r--r--org.eclipse.debug.examples.ui/META-INF/MANIFEST.MF2
-rw-r--r--org.eclipse.debug.examples.ui/pom.xml2
-rw-r--r--org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/SequencerControlsModelProxy.java1
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceElementWorkbenchAdapter.java1
5 files changed, 6 insertions, 2 deletions
diff --git a/org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/midi/launcher/SequencerControl.java b/org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/midi/launcher/SequencerControl.java
index a12de2219..0f810255f 100644
--- a/org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/midi/launcher/SequencerControl.java
+++ b/org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/midi/launcher/SequencerControl.java
@@ -113,6 +113,7 @@ public abstract class SequencerControl {
DebugPlugin.getDefault().fireDebugEventSet(new DebugEvent[] {event});
}
+ @SuppressWarnings("resource")
@Override
public boolean equals(Object obj) {
if (obj != null) {
@@ -124,6 +125,7 @@ public abstract class SequencerControl {
return false;
}
+ @SuppressWarnings("resource")
@Override
public int hashCode() {
return getSequencer().hashCode() + getClass().hashCode();
diff --git a/org.eclipse.debug.examples.ui/META-INF/MANIFEST.MF b/org.eclipse.debug.examples.ui/META-INF/MANIFEST.MF
index 53d4b15ff..02884d10f 100644
--- a/org.eclipse.debug.examples.ui/META-INF/MANIFEST.MF
+++ b/org.eclipse.debug.examples.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-SymbolicName: org.eclipse.debug.examples.ui;singleton:=true
-Bundle-Version: 1.6.300.qualifier
+Bundle-Version: 1.6.400.qualifier
Bundle-Activator: org.eclipse.debug.examples.ui.pda.DebugUIPlugin
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.11.0,4.0.0)",
org.eclipse.core.resources,
diff --git a/org.eclipse.debug.examples.ui/pom.xml b/org.eclipse.debug.examples.ui/pom.xml
index 5c602073d..3279f104e 100644
--- a/org.eclipse.debug.examples.ui/pom.xml
+++ b/org.eclipse.debug.examples.ui/pom.xml
@@ -18,6 +18,6 @@
</parent>
<groupId>org.eclipse.debug</groupId>
<artifactId>org.eclipse.debug.examples.ui</artifactId>
- <version>1.6.300-SNAPSHOT</version>
+ <version>1.6.400-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
diff --git a/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/SequencerControlsModelProxy.java b/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/SequencerControlsModelProxy.java
index fcf283156..f19183a1c 100644
--- a/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/SequencerControlsModelProxy.java
+++ b/org.eclipse.debug.examples.ui/src/org/eclipse/debug/examples/ui/midi/adapters/SequencerControlsModelProxy.java
@@ -72,6 +72,7 @@ public class SequencerControlsModelProxy extends EventHandlerModelProxy {
return new DebugEventHandler[]{fHandler};
}
+ @SuppressWarnings("resource")
@Override
protected boolean containsEvent(DebugEvent event) {
if (event.getSource() instanceof SequencerControl) {
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceElementWorkbenchAdapter.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceElementWorkbenchAdapter.java
index 4c569cfcd..8acda2295 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceElementWorkbenchAdapter.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/sourcelookup/SourceElementWorkbenchAdapter.java
@@ -41,6 +41,7 @@ public class SourceElementWorkbenchAdapter implements IWorkbenchAdapter {
}
return null;
}
+ @SuppressWarnings("resource")
@Override
public String getLabel(Object o) {
if (o instanceof LocalFileStorage) {

Back to the top