Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2013-09-05 11:07:12 +0000
committerRoland Grunberg2013-09-05 14:02:59 +0000
commit76c863e5ce01f258afa615122ef71f9c8824af5e (patch)
tree8d102761520380f7b51827a1fec0f92add61c9fd /rpm/org.eclipse.linuxtools.rpm.rpmlint
parent0a96a2129692c9addf7784b3d6480b4016d5e704 (diff)
downloadorg.eclipse.linuxtools-76c863e5ce01f258afa615122ef71f9c8824af5e.tar.gz
org.eclipse.linuxtools-76c863e5ce01f258afa615122ef71f9c8824af5e.tar.xz
org.eclipse.linuxtools-76c863e5ce01f258afa615122ef71f9c8824af5e.zip
rpm: Remove unused field.
Change-Id: Ifd4e83f41bf6d2a6bf90b363790cc1c1b13d022c Reviewed-on: https://git.eclipse.org/r/16155 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
Diffstat (limited to 'rpm/org.eclipse.linuxtools.rpm.rpmlint')
-rw-r--r--rpm/org.eclipse.linuxtools.rpm.rpmlint/src/org/eclipse/linuxtools/internal/rpm/rpmlint/resolutions/AInsertLineResolution.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/rpm/org.eclipse.linuxtools.rpm.rpmlint/src/org/eclipse/linuxtools/internal/rpm/rpmlint/resolutions/AInsertLineResolution.java b/rpm/org.eclipse.linuxtools.rpm.rpmlint/src/org/eclipse/linuxtools/internal/rpm/rpmlint/resolutions/AInsertLineResolution.java
index e243a0c207..5df8ce4e4b 100644
--- a/rpm/org.eclipse.linuxtools.rpm.rpmlint/src/org/eclipse/linuxtools/internal/rpm/rpmlint/resolutions/AInsertLineResolution.java
+++ b/rpm/org.eclipse.linuxtools.rpm.rpmlint/src/org/eclipse/linuxtools/internal/rpm/rpmlint/resolutions/AInsertLineResolution.java
@@ -22,8 +22,6 @@ import org.eclipse.linuxtools.rpm.ui.editor.SpecfileEditor;
*/
public abstract class AInsertLineResolution extends ARpmlintResolution {
- protected int markerLine;
-
/**
* Returns the line to be inserted for the fix.
* Note: If there are some whitespace requirements for this line(e.g. an empty line after it)
@@ -47,7 +45,6 @@ public abstract class AInsertLineResolution extends ARpmlintResolution {
* @see org.eclipse.ui.IMarkerResolution#run(org.eclipse.core.resources.IMarker)
*/
public void run(IMarker marker) {
- markerLine = marker.getAttribute(IMarker.LINE_NUMBER, 0);
SpecfileEditor editor = getEditor(marker);
if (editor == null) {
return;

Back to the top