Skip to content

Commit 98e3d15

Browse files
committed
pmdTaskMarker is now a pmdMarker as well
1 parent d369f87 commit 98e3d15

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

net.sourceforge.pmd.eclipse.plugin/plugin.xml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -236,21 +236,17 @@
236236
id="pmdTaskMarker"
237237
name="%marker.task"
238238
point="org.eclipse.core.resources.markers">
239-
<super
240-
type="net.sourceforge.pmd.eclipse.plugin.pmdMarker">
241-
</super>
242-
<super
243-
type="org.eclipse.core.resources.taskmarker">
244-
</super>
245-
<persistent
246-
value="true">
239+
<super type="net.sourceforge.pmd.eclipse.plugin.pmdMarker"></super>
240+
<super type="org.eclipse.core.resources.taskmarker"></super>
241+
<persistent value="true">
247242
</persistent>
248243
</extension>
249244

250245
<extension
251246
id="pmdDFAMarker"
252247
name="%marker.dfa"
253248
point="org.eclipse.core.resources.markers">
249+
<super type="net.sourceforge.pmd.eclipse.plugin.pmdMarker"></super>
254250
<super type="org.eclipse.core.resources.problemmarker"/>
255251
<persistent value="false"/>
256252
</extension>

net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/PMDRuntimeConstants.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
*/
1313
public class PMDRuntimeConstants {
1414

15+
/** This marker type is the super type for all PMD markers (for rules, task, and dfa). */
1516
public static final String PMD_MARKER = PMDPlugin.PLUGIN_ID + ".pmdMarker";
1617

1718
public static final String PMD_MARKER_1 = PMDPlugin.PLUGIN_ID + ".pmdMarker1";
@@ -22,7 +23,7 @@ public class PMDRuntimeConstants {
2223

2324
public static final String PMD_DFA_MARKER = PMDPlugin.PLUGIN_ID + ".pmdDFAMarker";
2425
public static final String PMD_TASKMARKER = PMDPlugin.PLUGIN_ID + ".pmdTaskMarker";
25-
public static final String[] RULE_MARKER_TYPES = new String[] { PMD_MARKER, PMD_MARKER_1, PMD_MARKER_2,
26+
public static final String[] RULE_MARKER_TYPES = new String[] { PMD_MARKER_1, PMD_MARKER_2,
2627
PMD_MARKER_3, PMD_MARKER_4, PMD_MARKER_5 };
2728
public static final String[] ALL_MARKER_TYPES = new String[] { PMD_MARKER, PMD_DFA_MARKER, PMD_TASKMARKER,
2829
PMD_MARKER_1, PMD_MARKER_2, PMD_MARKER_3, PMD_MARKER_4, PMD_MARKER_5 };

0 commit comments

Comments
 (0)