Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlena Laskavaia2008-10-22 19:47:38 +0000
committerAlena Laskavaia2008-10-22 19:47:38 +0000
commit8961527f07d48a9926a2b10488d4c9bfae69664e (patch)
tree5b998dcd04fe2eea9cf9ea99a40daffc5c290bf2 /core/org.eclipse.cdt.core/src
parent9f9adbe8645e92f0b9a2d6742e2b1dc24f747e15 (diff)
downloadorg.eclipse.cdt-8961527f07d48a9926a2b10488d4c9bfae69664e.tar.gz
org.eclipse.cdt-8961527f07d48a9926a2b10488d4c9bfae69664e.tar.xz
org.eclipse.cdt-8961527f07d48a9926a2b10488d4c9bfae69664e.zip
- make it shorter
Diffstat (limited to 'core/org.eclipse.cdt.core/src')
-rw-r--r--core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ErrorParserManager.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ErrorParserManager.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ErrorParserManager.java
index 2281d3c3c27..9fb2f962998 100644
--- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ErrorParserManager.java
+++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/ErrorParserManager.java
@@ -206,9 +206,7 @@ public class ErrorParserManager extends OutputStream {
if (line.length() > 1000)
return;
- for (Iterator<String> items = fErrorParsers.keySet().iterator();items.hasNext();) {
- String parserId = items.next();
- IErrorParser[] parsers = fErrorParsers.get(parserId);
+ for (IErrorParser[] parsers : fErrorParsers.values()) {
for (IErrorParser curr : parsers) {
if (curr.processLine(line, this)) {
return;

Back to the top