diff options
author | Lars Vogel | 2021-02-05 10:45:07 +0000 |
---|---|---|
committer | Lars Vogel | 2021-02-07 18:09:44 +0000 |
commit | 6e36baa97dd66920dcd095022d81333d732e295e (patch) | |
tree | 521b68a66cf2c9131737e837866fab226762846a | |
parent | 8aaf99db5788652bec818971251bb9d38750e1c9 (diff) | |
download | eclipse.pde.ui-6e36baa97dd66920dcd095022d81333d732e295e.tar.gz eclipse.pde.ui-6e36baa97dd66920dcd095022d81333d732e295e.tar.xz eclipse.pde.ui-6e36baa97dd66920dcd095022d81333d732e295e.zip |
Bug 570951 - Removes unused createMarker method in PDEMarkerFactoryI20210207-1800
After updating the method to the new API I noted that it is not used.
Change-Id: I3b0adef587a71c37f0a92cce6db3df08f0cfad3c
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r-- | ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/PDEMarkerFactory.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/PDEMarkerFactory.java b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/PDEMarkerFactory.java index ea6af55d04..4f7c832c50 100644 --- a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/PDEMarkerFactory.java +++ b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/builders/PDEMarkerFactory.java @@ -16,10 +16,6 @@ *******************************************************************************/ package org.eclipse.pde.internal.core.builders; -import org.eclipse.core.resources.IFile; -import org.eclipse.core.resources.IMarker; -import org.eclipse.core.runtime.CoreException; - public class PDEMarkerFactory { /** @@ -115,11 +111,4 @@ public class PDEMarkerFactory { public static final String CAT_EE = "ee"; //$NON-NLS-1$ public static final String CAT_OTHER = ""; //$NON-NLS-1$ - public IMarker createMarker(IFile file, int id, String category) throws CoreException { - IMarker marker = file.createMarker(MARKER_ID); - marker.setAttribute(PROBLEM_ID, id); - marker.setAttribute(CAT_ID, category); - return marker; - } - } |