File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/runtime/cmd Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Eclipse Update Site:
1717### Fixed Issues
1818
1919* [ #20 ] ( https://github.com/pmd/pmd-eclipse-plugin/issues/20 ) : category.xml maybe broken
20+ * [ #29 ] ( https://github.com/pmd/pmd-eclipse-plugin/issues/29 ) : Processing errors without cause
2021* [ #32 ] ( https://github.com/pmd/pmd-eclipse-plugin/issues/32 ) : Upgrade PMD to 6.2.0
2122* [ #43 ] ( https://github.com/pmd/pmd-eclipse-plugin/issues/43 ) : Update unit tests to use new ruleset categories
2223
Original file line number Diff line number Diff line change @@ -374,10 +374,12 @@ public String defaultFileExtension() {
374374
375375 if (collectingReport .hasErrors ()) {
376376 StringBuilder message = new StringBuilder ("There were processing errors!\n " );
377- Iterator <ProcessingError > errors = context . getReport () .errors ();
377+ Iterator <ProcessingError > errors = collectingReport .errors ();
378378 while (errors .hasNext ()) {
379379 ProcessingError error = errors .next ();
380- message .append (error .getFile ()).append (": " ).append (error .getMsg ()).append ("\n " );
380+ message .append (error .getFile ()).append (": " ).append (error .getMsg ()).append (' ' )
381+ .append (error .getDetail ())
382+ .append ("\n " );
381383 }
382384 PMDPlugin .getDefault ().logWarn (message .toString ());
383385 throw new PMDException (message .toString ());
You can’t perform that action at this time.
0 commit comments