mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Fix for [Bug 187997] [Build Settings UI] Apply NPE
This commit is contained in:
parent
1d476a3cf9
commit
42d77e4d62
1 changed files with 2 additions and 0 deletions
|
@ -2372,6 +2372,8 @@ public class Builder extends BuildObject implements IBuilder, IMatchKeyProvider
|
|||
|
||||
void removeErrorParsers(Set set){
|
||||
Set oldSet = contributeErrorParsers(null);
|
||||
if(oldSet == null)
|
||||
oldSet = new HashSet();
|
||||
oldSet.removeAll(set);
|
||||
setErrorParserList((String[])oldSet.toArray(new String[oldSet.size()]));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue