Skip to content

Commit 49a195d

Browse files
committed
put add and addAll back in previous order
1 parent 7dd8032 commit 49a195d

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/ContentGeneratorDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,9 @@ public Collection<MarkerType> getMarkerTypes() {
205205
break;
206206
case MarkerSupportInternalUtilities.TYPE_AND_SUBTYPE:
207207
default:
208-
markerTypes.add(MarkerTypesModel.getInstance().getType(elementName));
209208
markerTypes.addAll(
210209
Arrays.asList(MarkerTypesModel.getInstance().getType(elementName).getAllSubTypes()));
210+
markerTypes.add(MarkerTypesModel.getInstance().getType(elementName));
211211
}
212212
}
213213
if (markerTypes.isEmpty()) {
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package org.eclipse.ui.tests;
2+
3+
import org.eclipse.ui.views.markers.MarkerSupportView;
4+
5+
/**
6+
* @since 3.5
7+
*
8+
*/
9+
public class NoApplicationAttribTestView extends MarkerSupportView {
10+
public static final String ID = "org.eclipse.ui.tests.noApplicationAttribTestView";
11+
12+
static final String CONTENT_GEN_ID = "org.eclipse.ui.tests.noApplicationAttribTestViewContentGenerator";
13+
14+
public NoApplicationAttribTestView() {
15+
super(CONTENT_GEN_ID);
16+
}
17+
18+
}

0 commit comments

Comments
 (0)