aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-05-14 14:45:03 -0400
committerAlexander Kurtakov2018-05-14 14:48:12 -0400
commit371cf83000fe2e41c63ef278df8fda25b98000ac (patch)
tree6c81d43f3f1230e13de283e283dbf1be720936f4
parentcf23dabb5ebc3628c1525132b07124e634182943 (diff)
downloadorg.eclipse.linuxtools-371cf83000fe2e41c63ef278df8fda25b98000ac.zip
org.eclipse.linuxtools-371cf83000fe2e41c63ef278df8fda25b98000ac.tar.gz
org.eclipse.linuxtools-371cf83000fe2e41c63ef278df8fda25b98000ac.tar.xz
Remove unused suppresswarnings.
Change-Id: I56d64fc3cbdca10164f98aed1b4a7a103e3c8aa5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/122614
-rw-r--r--containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java2
-rw-r--r--mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/AbstractQueryPageSchema.java1
-rw-r--r--mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/QueryPageSearch.java1
-rw-r--r--mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/RepositoryQuerySchemaPage.java2
-rw-r--r--mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/SimpleURLQueryPageSchema.java1
5 files changed, 2 insertions, 5 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java
index 67c6e58..73dc4a0 100644
--- a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java
+++ b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/DockerConnection.java
@@ -2097,7 +2097,7 @@ public class DockerConnection
}
public void attachCommand(final String id, final InputStream in,
- @SuppressWarnings("unused") final DockerConsoleOutputStream out)
+ final DockerConsoleOutputStream out)
throws DockerException {
final byte[] prevCmd = new byte[1024];
diff --git a/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/AbstractQueryPageSchema.java b/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/AbstractQueryPageSchema.java
index d195421..9128c78 100644
--- a/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/AbstractQueryPageSchema.java
+++ b/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/AbstractQueryPageSchema.java
@@ -27,7 +27,6 @@ import org.eclipse.mylyn.tasks.core.data.TaskAttribute;
import org.eclipse.mylyn.tasks.core.data.TaskAttributeMetaData;
import org.eclipse.mylyn.tasks.core.data.TaskData;
-@SuppressWarnings("nls")
public class AbstractQueryPageSchema {
public static class Field {
diff --git a/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/QueryPageSearch.java b/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/QueryPageSearch.java
index f36fe25..f7b249e 100644
--- a/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/QueryPageSearch.java
+++ b/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/QueryPageSearch.java
@@ -27,7 +27,6 @@ import org.eclipse.core.runtime.Status;
import org.eclipse.linuxtools.internal.mylyn.osio.rest.ui.OSIORestUIPlugin;
import org.eclipse.mylyn.commons.core.StatusHandler;
-@SuppressWarnings("nls")
public class QueryPageSearch {
/** Stores search criteria in the order entered by the user. */
diff --git a/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/RepositoryQuerySchemaPage.java b/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/RepositoryQuerySchemaPage.java
index f9e426d..7b9247f 100644
--- a/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/RepositoryQuerySchemaPage.java
+++ b/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/RepositoryQuerySchemaPage.java
@@ -49,7 +49,7 @@ import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.ui.forms.widgets.FormToolkit;
-@SuppressWarnings({ "nls", "restriction" })
+@SuppressWarnings({ "restriction" })
public class RepositoryQuerySchemaPage extends AbstractRepositoryQueryPage2 {
private static final int LABEL_WIDTH = 100;
diff --git a/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/SimpleURLQueryPageSchema.java b/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/SimpleURLQueryPageSchema.java
index 5d4061c..74e4c55 100644
--- a/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/SimpleURLQueryPageSchema.java
+++ b/mylyn/org.eclipse.linuxtools.mylyn.osio.rest.ui/src/org/eclipse/linuxtools/internal/mylyn/osio/rest/ui/provisional/SimpleURLQueryPageSchema.java
@@ -15,7 +15,6 @@ package org.eclipse.linuxtools.internal.mylyn.osio.rest.ui.provisional;
import org.eclipse.mylyn.tasks.core.data.TaskAttribute;
-@SuppressWarnings("nls")
public class SimpleURLQueryPageSchema extends AbstractQueryPageSchema {
private static final SimpleURLQueryPageSchema instance = new SimpleURLQueryPageSchema();