-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fixes to parsing of Eclipse output
Fix parsing of multi-line source context in text log Counting of columns changed to one based though one after
- Loading branch information
Showing
6 changed files
with
398 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...iler-eclipse/src/test/resources/org/codehaus/plexus/compiler/eclipse/eclipse-withinfo.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# 10/15/18, 2:50:59 PM EDT | ||
# Eclipse Compiler for Java(TM) v20180905-0317, 3.15.0, Copyright IBM Corp 2000, 2015. All rights reserved. | ||
---------- | ||
1. ERROR in C:\devenv\workspace\x\y\src\main\java\y\ECE.java (at line 8) | ||
Integer x = 0.0f; | ||
^^^^ | ||
Type mismatch: cannot convert from float to Integer | ||
---------- | ||
2. ERROR in C:\devenv\workspace\x\y\src\main\java\y\ECE.java (at line 16) | ||
} else { | ||
x = 20; | ||
} | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
Dead code | ||
---------- | ||
3. WARNING in C:\devenv\workspace\x\y\src\main\java\y\ECE.java (at line 22) | ||
Integer x; | ||
^ | ||
The value of the local variable x is not used | ||
---------- | ||
4. WARNING in C:\devenv\workspace\x\y\src\main\java\y\ECE.java (at line 27) | ||
} else { | ||
x = 30; | ||
} | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally | ||
---------- | ||
5. INFO in C:\devenv\workspace\x\y\src\main\java\y\ECE.java (at line 33) | ||
Boolean x = 7 == 7; | ||
^^^^^^ | ||
Comparing identical expressions | ||
---------- | ||
6. INFO in C:\devenv\workspace\x\y\src\main\java\y\ECE.java (at line 35) | ||
new Object() { | ||
{ | ||
System.out.println(x); | ||
} | ||
}; | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
The allocated object is never used | ||
---------- | ||
6 problems (2 errors, 2 warnings, 2 info) |
Oops, something went wrong.