Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-04-29 02:05:37 -0400
committerSergey Prigogin2011-04-29 02:05:37 -0400
commitbfab63bae94a5717cbe644927f52afda8cddac1c (patch)
tree9e99876e0bdb6ba4c6895d3a05149862f6ecd932
parentf1daf6235aa95f02713dcbd32831f171e5b0af8c (diff)
downloadorg.eclipse.cdt-bfab63bae94a5717cbe644927f52afda8cddac1c.tar.gz
org.eclipse.cdt-bfab63bae94a5717cbe644927f52afda8cddac1c.tar.xz
org.eclipse.cdt-bfab63bae94a5717cbe644927f52afda8cddac1c.zip
Cosmetics.
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/errorparsers/AbstractErrorParser.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/errorparsers/AbstractErrorParser.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/errorparsers/AbstractErrorParser.java
index a5357f6e4e4..05fef4b509a 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/errorparsers/AbstractErrorParser.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/errorparsers/AbstractErrorParser.java
@@ -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;
}
}

Back to the top