1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

bug 387729: GCCScannerInfoConsoleParserTests fails consistently for me

This commit is contained in:
Andrew Gvozdev 2012-08-23 16:04:28 -04:00
parent 84b9869577
commit 6b0b057af3
3 changed files with 7 additions and 9 deletions

View file

@ -94,8 +94,7 @@ public abstract class AbstractGCCBOPConsoleParser implements IScannerInfoConsole
*/
@Override
public boolean processLine(String line) {
line= line.trim();
if (line.length() == 0) {
if (line.trim().length() == 0) {
return false;
}
boolean rc = false;

View file

@ -110,8 +110,7 @@ public abstract class AbstractXLCBuildOutputParser implements IScannerInfoConsol
*/
@Override
public boolean processLine(String line) {
line= line.trim();
if (line.length() == 0) {
if (line.trim().length() == 0) {
return false;
}