Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-10-17 01:05:23 -0400
committerMichael Keppler2018-10-20 08:54:45 -0400
commit2ee0b19362970024d54bbebe6c4f3d6e1906b3fd (patch)
tree15e06de7857c9cac54f05ecdc41d7abe5e913c58
parent88bb9c3ef10601e7820c3e1fc337994ea986d3cd (diff)
downloadegit-github-2ee0b19362970024d54bbebe6c4f3d6e1906b3fd.tar.gz
egit-github-2ee0b19362970024d54bbebe6c4f3d6e1906b3fd.tar.xz
egit-github-2ee0b19362970024d54bbebe6c4f3d6e1906b3fd.zip
[releng] Fix unused member/parameter warnings
Change-Id: I0aa395f4e4075a24782df46607ef93c0d6d1c2dc Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
-rw-r--r--org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java1
-rw-r--r--org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/issue/IssueAttributePart.java5
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java
index 99f216c0..f958004a 100644
--- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java
+++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java
@@ -70,6 +70,7 @@ public class User implements Serializable {
private String email;
// Github legacy field; needs to be kept for proper deserialization.
+ @SuppressWarnings("unused")
private String gravatarId;
private String htmlUrl;
diff --git a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/issue/IssueAttributePart.java b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/issue/IssueAttributePart.java
index 6b048843..ba24e14d 100644
--- a/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/issue/IssueAttributePart.java
+++ b/org.eclipse.mylyn.github.ui/src/org/eclipse/mylyn/internal/github/ui/issue/IssueAttributePart.java
@@ -79,7 +79,7 @@ public class IssueAttributePart extends AbstractTaskEditorSection {
}
private void createAttributeControls(Composite attributesComposite,
- FormToolkit toolkit, int columnCount) {
+ FormToolkit toolkit) {
for (AbstractAttributeEditor attributeEditor : attributeEditors) {
if (attributeEditor.hasLabel())
attributeEditor
@@ -137,8 +137,7 @@ public class IssueAttributePart extends AbstractTaskEditorSection {
attributesData.grabExcessVerticalSpace = false;
attributesComposite.setLayoutData(attributesData);
- createAttributeControls(attributesComposite, toolkit,
- attributesLayout.numColumns);
+ createAttributeControls(attributesComposite, toolkit);
toolkit.paintBordersFor(attributesComposite);
return attributesComposite;

Back to the top