1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +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 * QNX - initial API and implementation, @author Doug Schaefer
* Warren Paul (Nokia) - Bug 178124, have processLine return true if processed. * Warren Paul (Nokia) - Bug 178124, have processLine return true if processed.
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.errorparsers; package org.eclipse.cdt.core.errorparsers;
import org.eclipse.cdt.core.ErrorParserManager; import org.eclipse.cdt.core.ErrorParserManager;
@ -20,7 +19,6 @@ import org.eclipse.cdt.core.IErrorParser;
* @since 5.1 * @since 5.1
*/ */
public class AbstractErrorParser implements IErrorParser { public class AbstractErrorParser implements IErrorParser {
private ErrorPattern[] patterns; private ErrorPattern[] patterns;
protected AbstractErrorParser(ErrorPattern[] patterns) { protected AbstractErrorParser(ErrorPattern[] patterns) {
@ -29,13 +27,14 @@ public class AbstractErrorParser implements IErrorParser {
/** /**
* @param line - line of the input * @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 * @return true if error parser recognized and accepted line, false otherwise
*/ */
public boolean processLine(String line, ErrorParserManager epManager) { public boolean processLine(String line, ErrorParserManager manager) {
for (int i = 0; i < patterns.length; ++i) for (int i = 0; i < patterns.length; ++i) {
if (patterns[i].processLine(line, epManager)) if (patterns[i].processLine(line, manager))
return true; return true;
}
return false; return false;
} }
} }