You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2020/05/14 16:55:08 UTC

svn commit: r1877745 - /pivot/trunk/StyleErrors.java

Author: rwhitcomb
Date: Thu May 14 16:55:07 2020
New Revision: 1877745

URL: http://svn.apache.org/viewvc?rev=1877745&view=rev
Log:
PIVOT-1032: Tweak messages in StyleErrors.


Modified:
    pivot/trunk/StyleErrors.java

Modified: pivot/trunk/StyleErrors.java
URL: http://svn.apache.org/viewvc/pivot/trunk/StyleErrors.java?rev=1877745&r1=1877744&r2=1877745&view=diff
==============================================================================
--- pivot/trunk/StyleErrors.java (original)
+++ pivot/trunk/StyleErrors.java Thu May 14 16:55:07 2020
@@ -487,8 +487,8 @@ public final class StyleErrors {
                     } else if (line.equals("Starting audit...") || line.equals("Audit done.")) {
                         continue;
                     } else {
-                        System.err.println("Line " + lineNo + ". Doesn't match the pattern.");
-                        System.err.println("\t" + line);
+                        System.err.println("Line " + lineNo + ". Doesn't match the expected pattern.");
+                        System.err.println("\t\"" + line + "\"");
                     }
                 }
                 if (currentFileName != null) {
@@ -505,7 +505,7 @@ public final class StyleErrors {
             }
 
             if (sortedList.isEmpty()) {
-                StringBuilder buf = new StringBuilder("No results ");
+                StringBuilder buf = new StringBuilder("No results");
                 boolean anyFilters = false;
                 if (filteredByFile) {
                     buf.append(anyFilters ? " or " : " for ");