mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Fix Java 1.4 compliance
This commit is contained in:
parent
f6de791533
commit
7434b82817
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class GCCErrorParser extends AbstractErrorParser {
|
|||
}
|
||||
public int getSeverity(Matcher matcher) {
|
||||
String warningGroup = matcher.group(4);
|
||||
if (warningGroup == null || warningGroup.contains("arning"))
|
||||
if (warningGroup == null || warningGroup.indexOf("arning") >= 0) //$NON-NLS-1$
|
||||
return IMarkerGenerator.SEVERITY_WARNING;
|
||||
else
|
||||
return IMarkerGenerator.SEVERITY_ERROR_RESOURCE;
|
||||
|
|
Loading…
Add table
Reference in a new issue