1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

annotation is a problem if it inherits from resource problemmarker, having it inherit from cproblem marker is unnecessary restriction

This commit is contained in:
Alena Laskavaia 2010-08-16 02:16:15 +00:00
parent b45080a6f7
commit ba16e750fa

View file

@ -38,7 +38,7 @@ public class CMarkerAnnotation extends MarkerAnnotation implements IProblemAnnot
public CMarkerAnnotation(IMarker marker) {
super(marker);
fIsProblemMarker = MarkerUtilities.isMarkerType(getMarker(), ICModelMarker.C_MODEL_PROBLEM_MARKER);
fIsProblemMarker = MarkerUtilities.isMarkerType(getMarker(), IMarker.PROBLEM);
}
/**