Skip to content

Commit

Permalink
Re-use ID constant eclipse-platform#2193
Browse files Browse the repository at this point in the history
  • Loading branch information
travkin79 committed Aug 19, 2024
1 parent 4cca5c0 commit f3b3ca3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public class ContentGeneratorDescriptor {

private static final String ATTRIBUTE_DEFAULT_MARKER_GROUPING = "defaultMarkerGrouping"; //$NON-NLS-1$
private static final String ATTRIBUTE_VISIBLE = "visible"; //$NON-NLS-1$
private static final String ATTRIBUTE_ID = "id"; //$NON-NLS-1$
private static final String ELEMENT_MARKER_FIELD_CONFIGURATION = "markerFieldConfiguration"; //$NON-NLS-1$;
private static final String MARKER_FIELD_REFERENCE = "markerFieldReference"; //$NON-NLS-1$

Expand Down Expand Up @@ -118,7 +117,8 @@ public MarkerField[] getAllFields() {
}

private void addMarkerFieldsFrom(IConfigurationElement extensionElement, List<MarkerField> markerFields) {
String extendingMarkerContentGeneratorId = extensionElement.getAttribute(ATTRIBUTE_ID);
String extendingMarkerContentGeneratorId = extensionElement
.getAttribute(MarkerSupportInternalUtilities.ATTRIBUTE_ID);
if (extendingMarkerContentGeneratorId != null && !extendingMarkerContentGeneratorId.isBlank()) {
ContentGeneratorDescriptor descriptor = MarkerSupportRegistry.getInstance()
.getContentGenDescriptor(extendingMarkerContentGeneratorId);
Expand Down

0 comments on commit f3b3ca3

Please sign in to comment.