1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-04-29 06:05:37 +00:00
parent f1daf6235a
commit bfab63bae9

View file

@ -9,7 +9,6 @@
* QNX - initial API and implementation, @author Doug Schaefer
* Warren Paul (Nokia) - Bug 178124, have processLine return true if processed.
*******************************************************************************/
package org.eclipse.cdt.core.errorparsers;
import org.eclipse.cdt.core.ErrorParserManager;
@ -20,7 +19,6 @@ import org.eclipse.cdt.core.IErrorParser;
* @since 5.1
*/
public class AbstractErrorParser implements IErrorParser {
private ErrorPattern[] patterns;
protected AbstractErrorParser(ErrorPattern[] patterns) {
@ -29,13 +27,14 @@ public class AbstractErrorParser implements IErrorParser {
/**
* @param line - line of the input
* @param epManager - error parsers manager
* @param manager - error parsers manager
* @return true if error parser recognized and accepted line, false otherwise
*/
public boolean processLine(String line, ErrorParserManager epManager) {
for (int i = 0; i < patterns.length; ++i)
if (patterns[i].processLine(line, epManager))
public boolean processLine(String line, ErrorParserManager manager) {
for (int i = 0; i < patterns.length; ++i) {
if (patterns[i].processLine(line, manager))
return true;
}
return false;
}
}