diff options
author | Frank Becker | 2015-08-01 11:05:50 +0000 |
---|---|---|
committer | Frank Becker | 2015-11-26 17:40:04 +0000 |
commit | b9b67b4a85c973105e45521c4aa66b51754a0e26 (patch) | |
tree | 0bf312eb2ff24b13a77b153c2bf74be9483d0015 | |
parent | d384ba5675c9353af165a3145aae3d011032e546 (diff) | |
download | org.eclipse.mylyn.tasks-b9b67b4a85c973105e45521c4aa66b51754a0e26.tar.gz org.eclipse.mylyn.tasks-b9b67b4a85c973105e45521c4aa66b51754a0e26.tar.xz org.eclipse.mylyn.tasks-b9b67b4a85c973105e45521c4aa66b51754a0e26.zip |
414360: remove some Java Problems and Java Tasks
Change-Id: Ic85866ddc8917240acbeda3830a871a0177038b6
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=414360
10 files changed, 70 insertions, 70 deletions
diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/build.properties b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/build.properties index ace3b98a1..e40150ffd 100644 --- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/build.properties +++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/build.properties @@ -2,7 +2,8 @@ source.. = src/ output.. = bin/ bin.includes = META-INF/,\ .,\ - about.html + about.html,\ + plugin.xml src.includes = about.html additional.bundles = org.eclipse.jdt.annotation jars.extra.classpath = platform:/plugin/org.eclipse.jdt.annotation diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestAuthenticatedGetRequest.java b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestAuthenticatedGetRequest.java index 87939a321..ef42c1666 100644 --- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestAuthenticatedGetRequest.java +++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestAuthenticatedGetRequest.java @@ -36,10 +36,10 @@ public class BugzillaRestAuthenticatedGetRequest<T> extends BugzillaRestRequest< private final String urlSuffix; - private final TypeToken responseType; + private final TypeToken<?> responseType; public BugzillaRestAuthenticatedGetRequest(BugzillaRestHttpClient client, String urlSuffix, - TypeToken responseType) { + TypeToken<?> responseType) { super(client); this.urlSuffix = urlSuffix; this.responseType = responseType; @@ -49,9 +49,9 @@ public class BugzillaRestAuthenticatedGetRequest<T> extends BugzillaRestRequest< protected void authenticate(IOperationMonitor monitor) throws IOException { UserCredentials credentials = getClient().getLocation().getCredentials(AuthenticationType.REPOSITORY); if (credentials == null) { - throw new IllegalStateException("Authentication requested without valid credentials"); + throw new IllegalStateException("Authentication requested without valid credentials"); //$NON-NLS-1$ } - HttpRequestBase request = new HttpGet(baseUrl() + MessageFormat.format("/login?login={0}&password={1}", + HttpRequestBase request = new HttpGet(baseUrl() + MessageFormat.format("/login?login={0}&password={1}", //$NON-NLS-1$ new Object[] { credentials.getUserName(), credentials.getPassword() })); request.setHeader(CONTENT_TYPE, TEXT_XML_CHARSET_UTF_8); request.setHeader(ACCEPT, APPLICATION_JSON); @@ -59,7 +59,7 @@ public class BugzillaRestAuthenticatedGetRequest<T> extends BugzillaRestRequest< try { if (response.getStatusLine().getStatusCode() == HttpStatus.SC_UNAUTHORIZED) { getClient().setAuthenticated(false); - throw new AuthenticationException("Authentication failed", + throw new AuthenticationException("Authentication failed", //$NON-NLS-1$ new AuthenticationRequest<AuthenticationType<UserCredentials>>(getClient().getLocation(), AuthenticationType.REPOSITORY)); } else { @@ -82,10 +82,10 @@ public class BugzillaRestAuthenticatedGetRequest<T> extends BugzillaRestRequest< LoginToken token = ((BugzillaRestHttpClient) getClient()).getLoginToken(); if ((!(this instanceof BugzillaRestValidateRequest) && !(this instanceof BugzillaRestUnauthenticatedGetRequest)) && token != null && bugUrl.length() > 0) { - if (!bugUrl.endsWith("?")) { - bugUrl += "&"; + if (!bugUrl.endsWith("?")) { //$NON-NLS-1$ + bugUrl += "&"; //$NON-NLS-1$ } - bugUrl += "token=" + token.getToken(); + bugUrl += "token=" + token.getToken(); //$NON-NLS-1$ } HttpRequestBase request = new HttpGet(baseUrl() + bugUrl); request.setHeader(CONTENT_TYPE, TEXT_XML_CHARSET_UTF_8); diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestAuthenticatedPutRequest.java b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestAuthenticatedPutRequest.java index df6ef3f55..d31d46fe7 100644 --- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestAuthenticatedPutRequest.java +++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestAuthenticatedPutRequest.java @@ -37,7 +37,6 @@ public abstract class BugzillaRestAuthenticatedPutRequest<T> extends BugzillaRes public BugzillaRestAuthenticatedPutRequest(BugzillaRestHttpClient client) { super(client); - // TODO Auto-generated constructor stub } @Override @@ -46,9 +45,8 @@ public abstract class BugzillaRestAuthenticatedPutRequest<T> extends BugzillaRes if (credentials == null) { throw new IllegalStateException("Authentication requested without valid credentials"); } - HttpRequestBase request = new HttpGet(baseUrl() - + MessageFormat.format("/login?login={0}&password={1}", new Object[] { credentials.getUserName(), - credentials.getPassword() })); + HttpRequestBase request = new HttpGet(baseUrl() + MessageFormat.format("/login?login={0}&password={1}", + new Object[] { credentials.getUserName(), credentials.getPassword() })); request.setHeader(CONTENT_TYPE, TEXT_XML_CHARSET_UTF_8); request.setHeader(ACCEPT, APPLICATION_JSON); HttpResponse response = getClient().execute(request, monitor); diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestClient.java b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestClient.java index 88ac8e619..105e7868c 100644 --- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestClient.java +++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestClient.java @@ -92,7 +92,7 @@ public class BugzillaRestClient { } public <R extends RestResponse<E>, E extends Named> Map<String, E> retrieveItems(IOperationMonitor monitor, - String path, TypeToken typeToken) throws BugzillaRestException { + String path, TypeToken<?> typeToken) throws BugzillaRestException { R response = new BugzillaRestAuthenticatedGetRequest<R>(client, path, typeToken).run(monitor); E[] members = response.getArray(); return Maps.uniqueIndex(Lists.newArrayList(members), new Function<E, String>() { @@ -103,7 +103,7 @@ public class BugzillaRestClient { } private Map<String, Field> getFields(IOperationMonitor monitor) throws BugzillaRestException { - return retrieveItems(monitor, "/field/bug?", new TypeToken<FieldResponse>() { + return retrieveItems(monitor, "/field/bug?", new TypeToken<FieldResponse>() { //$NON-NLS-1$ }); } @@ -113,7 +113,7 @@ public class BugzillaRestClient { } public ParameterResponse getParameters(IOperationMonitor monitor) throws BugzillaRestException { - return new BugzillaRestAuthenticatedGetRequest<ParameterResponse>(client, "/parameters?", + return new BugzillaRestAuthenticatedGetRequest<ParameterResponse>(client, "/parameters?", //$NON-NLS-1$ new TypeToken<ParameterResponse>() { }).run(monitor); } diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestCreateTaskSchema.java b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestCreateTaskSchema.java index c50c603a8..00fc243ae 100644 --- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestCreateTaskSchema.java +++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestCreateTaskSchema.java @@ -25,18 +25,18 @@ public class BugzillaRestCreateTaskSchema extends AbstractTaskSchema { return instance; } - private static ImmutableMap<String, String> attribute2FieldMapper = new ImmutableMap.Builder() - .put(getDefault().SUMMARY.getKey(), "summary") - .put(getDefault().DESCRIPTION.getKey(), "description") - .put(getDefault().OPERATION.getKey(), "status") - .put(getDefault().PRODUCT.getKey(), "product") - .put(getDefault().COMPONENT.getKey(), "component") - .put(getDefault().CC.getKey(), "cc") - .put(getDefault().SEVERITY.getKey(), "severity") - .put(getDefault().PRIORITY.getKey(), "priority") - .put(getDefault().ASSIGNED_TO.getKey(), "assigned_to") - .put(getDefault().OS.getKey(), "op_sys") - .put(getDefault().VERSION.getKey(), "version") + private static ImmutableMap<String, String> attribute2FieldMapper = new ImmutableMap.Builder<String, String>() + .put(getDefault().SUMMARY.getKey(), "summary") //$NON-NLS-1$ + .put(getDefault().DESCRIPTION.getKey(), "description") //$NON-NLS-1$ + .put(getDefault().OPERATION.getKey(), "status") //$NON-NLS-1$ + .put(getDefault().PRODUCT.getKey(), "product") //$NON-NLS-1$ + .put(getDefault().COMPONENT.getKey(), "component") //$NON-NLS-1$ + .put(getDefault().CC.getKey(), "cc") //$NON-NLS-1$ + .put(getDefault().SEVERITY.getKey(), "severity") //$NON-NLS-1$ + .put(getDefault().PRIORITY.getKey(), "priority") //$NON-NLS-1$ + .put(getDefault().ASSIGNED_TO.getKey(), "assigned_to") //$NON-NLS-1$ + .put(getDefault().OS.getKey(), "op_sys") //$NON-NLS-1$ + .put(getDefault().VERSION.getKey(), "version") //$NON-NLS-1$ .build(); public static String getFieldNameFromAttributeName(String attributeName) { diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestPostNewTask.java b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestPostNewTask.java index bfa4a0c00..7b9b8a75c 100644 --- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestPostNewTask.java +++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestPostNewTask.java @@ -104,8 +104,8 @@ public class BugzillaRestPostNewTask extends BugzillaRestAuthenticatedPostReques @Override public TaskData read(JsonReader in) throws IOException { - // TODO Auto-generated method stub - return null; + throw new UnsupportedOperationException( + "TaskAttributeTypeAdapter in BugzillaRestPostNewTask only supports write"); //$NON-NLS-1$ } } @@ -125,7 +125,7 @@ public class BugzillaRestPostNewTask extends BugzillaRestAuthenticatedPostReques StringEntity requestEntity = new StringEntity(gson.toJson(taskData)); request.setEntity(requestEntity); } catch (UnsupportedEncodingException e) { - throw new IOException("could not build REST String", e); + throw new IOException("could not build REST String", e); //$NON-NLS-1$ } return request; } @@ -150,9 +150,9 @@ public class BugzillaRestPostNewTask extends BugzillaRestAuthenticatedPostReques if (statusCode != HttpURLConnection.HTTP_BAD_REQUEST && statusCode != HttpURLConnection.HTTP_OK) { if (statusCode == HttpStatus.SC_NOT_FOUND) { throw new BugzillaRestResourceNotFoundException( - NLS.bind("Requested resource ''{0}'' does not exist", response.getRequestPath())); + NLS.bind("Requested resource ''{0}'' does not exist", response.getRequestPath())); //$NON-NLS-1$ } - throw new BugzillaRestException(NLS.bind("Unexpected response from Bugzilla REST server for ''{0}'': {1}", + throw new BugzillaRestException(NLS.bind("Unexpected response from Bugzilla REST server for ''{0}'': {1}", //$NON-NLS-1$ response.getRequestPath(), HttpUtil.getStatusText(statusCode))); } @@ -186,7 +186,7 @@ public class BugzillaRestPostNewTask extends BugzillaRestAuthenticatedPostReques default: BugzillaRestStatus status = parseErrorFromJson(in); throw new BugzillaRestException( - NLS.bind("{2} (status: {1} from {0})", new String[] { response.getRequestPath(), + NLS.bind("{2} (status: {1} from {0})", new String[] { response.getRequestPath(), //$NON-NLS-1$ HttpUtil.getStatusText(response.getStatusCode()), status.getMessage() })); } } diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestPutUpdateTask.java b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestPutUpdateTask.java index ee919ff39..09682c8dc 100644 --- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestPutUpdateTask.java +++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestPutUpdateTask.java @@ -21,6 +21,9 @@ import org.apache.http.NameValuePair; import org.apache.http.client.methods.HttpPut; import org.apache.http.client.methods.HttpRequestBase; import org.apache.http.entity.StringEntity; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; import org.eclipse.mylyn.internal.bugzilla.rest.core.response.data.LoginToken; import org.eclipse.mylyn.internal.bugzilla.rest.core.response.data.PutUpdateResult; import org.eclipse.mylyn.tasks.core.data.TaskAttribute; @@ -144,8 +147,8 @@ public class BugzillaRestPutUpdateTask extends BugzillaRestAuthenticatedPutReque @Override public OldAttributes read(JsonReader in) throws IOException { - // TODO Auto-generated method stub - return null; + throw new UnsupportedOperationException( + "TaskAttributeTypeAdapter in BugzillaRestPutUpdateTask only supports write"); //$NON-NLS-1$ } } @@ -179,8 +182,8 @@ public class BugzillaRestPutUpdateTask extends BugzillaRestAuthenticatedPutReque StringEntity requestEntity = new StringEntity(gson.toJson(oldAttributes)); request.setEntity(requestEntity); } catch (UnsupportedEncodingException e) { - // TODO Auto-generated catch block - e.printStackTrace(); + com.google.common.base.Throwables.propagate(new CoreException( + new Status(IStatus.ERROR, BugzillaRestCore.ID_PLUGIN, "Can not build HttpRequest", e))); //$NON-NLS-1$ } return request; } diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestTaskSchema.java b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestTaskSchema.java index dd8241c60..ed96ad889 100644 --- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestTaskSchema.java +++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestTaskSchema.java @@ -22,37 +22,37 @@ public class BugzillaRestTaskSchema extends AbstractTaskSchema { private static final BugzillaRestTaskSchema instance = new BugzillaRestTaskSchema(); - private static ImmutableMap<String, String> field2AttributeFieldMapper = new ImmutableMap.Builder() - .put("summary", getDefault().SUMMARY.getKey()) - .put("description", getDefault().DESCRIPTION.getKey()) - .put("status", getDefault().STATUS.getKey()) - .put("product", getDefault().PRODUCT.getKey()) - .put("component", getDefault().COMPONENT.getKey()) - .put("CC", getDefault().CC.getKey()) - .put("severity", getDefault().SEVERITY.getKey()) - .put("priority", getDefault().PRIORITY.getKey()) - .put("assigned_to", getDefault().ASSIGNED_TO.getKey()) - .put("op_sys", getDefault().OS.getKey()) - .put("resolution", getDefault().RESOLUTION.getKey()) - .put("version", getDefault().VERSION.getKey()) - .put("dup_id", getDefault().DUPE_OF.getKey()) + private static ImmutableMap<String, String> field2AttributeFieldMapper = new ImmutableMap.Builder<String, String>() + .put("summary", getDefault().SUMMARY.getKey()) //$NON-NLS-1$ + .put("description", getDefault().DESCRIPTION.getKey()) //$NON-NLS-1$ + .put("status", getDefault().STATUS.getKey()) //$NON-NLS-1$ + .put("product", getDefault().PRODUCT.getKey()) //$NON-NLS-1$ + .put("component", getDefault().COMPONENT.getKey()) //$NON-NLS-1$ + .put("CC", getDefault().CC.getKey()) //$NON-NLS-1$ + .put("severity", getDefault().SEVERITY.getKey()) //$NON-NLS-1$ + .put("priority", getDefault().PRIORITY.getKey()) //$NON-NLS-1$ + .put("assigned_to", getDefault().ASSIGNED_TO.getKey()) //$NON-NLS-1$ + .put("op_sys", getDefault().OS.getKey()) //$NON-NLS-1$ + .put("resolution", getDefault().RESOLUTION.getKey()) //$NON-NLS-1$ + .put("version", getDefault().VERSION.getKey()) //$NON-NLS-1$ + .put("dup_id", getDefault().DUPE_OF.getKey()) //$NON-NLS-1$ .build(); - private static ImmutableMap<String, String> attribute2FieldMapper = new ImmutableMap.Builder() - .put(getDefault().SUMMARY.getKey(), "summary") - .put(getDefault().DESCRIPTION.getKey(), "description") - .put(getDefault().OPERATION.getKey(), "status") - .put(getDefault().PRODUCT.getKey(), "product") - .put(getDefault().COMPONENT.getKey(), "component") - .put(getDefault().CC.getKey(), "cc") - .put(getDefault().SEVERITY.getKey(), "severity") - .put(getDefault().PRIORITY.getKey(), "priority") - .put(getDefault().ASSIGNED_TO.getKey(), "assigned_to") - .put(getDefault().OS.getKey(), "op_sys") - .put(getDefault().VERSION.getKey(), "version") - .put(getDefault().RESOLUTION.getKey(), "resolution") - .put(getDefault().getDefault().DUPE_OF.getKey(), "dup_id") - .put("resolutionInput", "resolution") + private static ImmutableMap<String, String> attribute2FieldMapper = new ImmutableMap.Builder<String, String>() + .put(getDefault().SUMMARY.getKey(), "summary") //$NON-NLS-1$ + .put(getDefault().DESCRIPTION.getKey(), "description") //$NON-NLS-1$ + .put(getDefault().OPERATION.getKey(), "status") //$NON-NLS-1$ + .put(getDefault().PRODUCT.getKey(), "product") //$NON-NLS-1$ + .put(getDefault().COMPONENT.getKey(), "component") //$NON-NLS-1$ + .put(getDefault().CC.getKey(), "cc") //$NON-NLS-1$ + .put(getDefault().SEVERITY.getKey(), "severity") //$NON-NLS-1$ + .put(getDefault().PRIORITY.getKey(), "priority") //$NON-NLS-1$ + .put(getDefault().ASSIGNED_TO.getKey(), "assigned_to") //$NON-NLS-1$ + .put(getDefault().OS.getKey(), "op_sys") //$NON-NLS-1$ + .put(getDefault().VERSION.getKey(), "version") //$NON-NLS-1$ + .put(getDefault().RESOLUTION.getKey(), "resolution") //$NON-NLS-1$ + .put(getDefault().DUPE_OF.getKey(), "dup_id") //$NON-NLS-1$ + .put("resolutionInput", "resolution") //$NON-NLS-1$ //$NON-NLS-2$ .build(); public static String getAttributeNameFromFieldName(String fieldName) { diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestUnauthenticatedGetRequest.java b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestUnauthenticatedGetRequest.java index cab8c7317..e28e0dd9f 100644 --- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestUnauthenticatedGetRequest.java +++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/BugzillaRestUnauthenticatedGetRequest.java @@ -16,7 +16,7 @@ import com.google.gson.reflect.TypeToken; public class BugzillaRestUnauthenticatedGetRequest<T> extends BugzillaRestAuthenticatedGetRequest<T> { public BugzillaRestUnauthenticatedGetRequest(BugzillaRestHttpClient client, String urlSuffix, - TypeToken responseType) { + TypeToken<?> responseType) { super(client, urlSuffix, responseType); } diff --git a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/response/data/Product.java b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/response/data/Product.java index 5d2cd1990..d87f4269b 100644 --- a/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/response/data/Product.java +++ b/connector-bugzilla-rest/org.eclipse.mylyn.bugzilla.rest.core/src/org/eclipse/mylyn/internal/bugzilla/rest/core/response/data/Product.java @@ -13,8 +13,6 @@ package org.eclipse.mylyn.internal.bugzilla.rest.core.response.data; public class Product implements Named { - private static final long serialVersionUID = -8710729175326843083L; - private int id; private String name; |