diff options
author | Tomasz Zarna | 2013-06-18 21:10:14 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2013-06-19 18:44:56 +0000 |
commit | 6f0c2e375e7b0322515cd29a4de2e236fe9884ee (patch) | |
tree | 96af0edd39febd721d84b89c843a162a78d6eff8 /org.eclipse.mylyn.bugzilla.core/src | |
parent | fa0c2128f09e82da74cbc19e01dbd47d8135bf5c (diff) | |
download | org.eclipse.mylyn.tasks-6f0c2e375e7b0322515cd29a4de2e236fe9884ee.tar.gz org.eclipse.mylyn.tasks-6f0c2e375e7b0322515cd29a4de2e236fe9884ee.tar.xz org.eclipse.mylyn.tasks-6f0c2e375e7b0322515cd29a4de2e236fe9884ee.zip |
fix equals(Object) calls on two references of different class types
Change-Id: I5db9ba23d9631c02e1e930517c5baa1513295814
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.core/src')
-rw-r--r-- | org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/service/BugzillaXmlRpcClient.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/service/BugzillaXmlRpcClient.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/service/BugzillaXmlRpcClient.java index af2d235a7..da997ac99 100644 --- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/service/BugzillaXmlRpcClient.java +++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/service/BugzillaXmlRpcClient.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2010 Frank Becker and others. + * Copyright (c) 2010, 2013 Frank Becker and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -851,11 +851,11 @@ public class BugzillaXmlRpcClient extends CommonXmlRpcClient { attachmentMapper.setDeltaDate(lastChangeTime); attachmentMapper.setContentType(content_type); attachmentMapper.setCreationDate(creation_time); - attachmentMapper.setDeprecated(is_obsolete.equals("1")); //$NON-NLS-1$ + attachmentMapper.setDeprecated(is_obsolete.equals(Integer.valueOf(1))); attachmentMapper.setDescription(summary); attachmentMapper.setFileName(file_name); attachmentMapper.setLength(size != null ? size : -1L); - attachmentMapper.setPatch(is_patch.equals("1")); //$NON-NLS-1$ + attachmentMapper.setPatch(is_patch.equals(Integer.valueOf(1))); attachmentMapper.applyTo(attachmentAttribute); addFlags(taskData, attachment.get("flags"), attachmentAttribute); //$NON-NLS-1$ |