From 42660c7a2e4e8cf4e12b7fb09e64abdf12575859 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Mon, 15 Oct 2018 22:01:44 +0200 Subject: [PATCH] Fixed some warnings --- com.minres.scviewer.database.ui.swt/pom.xml | 1 - com.minres.scviewer.database.vcd/pom.xml | 1 - .../minres/scviewer/e4/application/parts/WaveformViewer.java | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/com.minres.scviewer.database.ui.swt/pom.xml b/com.minres.scviewer.database.ui.swt/pom.xml index de49454..8079c8c 100644 --- a/com.minres.scviewer.database.ui.swt/pom.xml +++ b/com.minres.scviewer.database.ui.swt/pom.xml @@ -1,7 +1,6 @@ 4.0.0 com.minres.scviewer.database.ui.swt - 2.0.0-SNAPSHOT eclipse-plugin com.minres.scviewer diff --git a/com.minres.scviewer.database.vcd/pom.xml b/com.minres.scviewer.database.vcd/pom.xml index f1a21ec..20be6aa 100644 --- a/com.minres.scviewer.database.vcd/pom.xml +++ b/com.minres.scviewer.database.vcd/pom.xml @@ -8,5 +8,4 @@ ../com.minres.scviewer.parent eclipse-plugin - 2.0.0-SNAPSHOT \ No newline at end of file diff --git a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/WaveformViewer.java b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/WaveformViewer.java index 5674cba..b5eaf08 100644 --- a/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/WaveformViewer.java +++ b/com.minres.scviewer.e4.application/src/com/minres/scviewer/e4/application/parts/WaveformViewer.java @@ -33,7 +33,6 @@ import javax.inject.Named; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Platform; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.SubMonitor; import org.eclipse.core.runtime.jobs.IJobChangeEvent; @@ -282,6 +281,7 @@ public class WaveformViewer implements IFileChangeListener, IPreferenceChangeLis waveformPane.getWaveformControl().addListener(SWT.KeyDown, new Listener() { + @SuppressWarnings("null") @Override public void handleEvent(Event e) { if(e==null) { // dummy to take out logging