[Japi-cvs] SF.net SVN: japi:[1403] tools/archStat/trunk/src/prj/net/sf/japi/archstat/ FileStat.java
Status: Beta
Brought to you by:
christianhujer
From: <chr...@us...> - 2010-04-11 10:19:39
|
Revision: 1403 http://japi.svn.sourceforge.net/japi/?rev=1403&view=rev Author: christianhujer Date: 2010-04-11 10:19:34 +0000 (Sun, 11 Apr 2010) Log Message: ----------- Fix some IntelliJ IDEA warnings. Modified Paths: -------------- tools/archStat/trunk/src/prj/net/sf/japi/archstat/FileStat.java Modified: tools/archStat/trunk/src/prj/net/sf/japi/archstat/FileStat.java =================================================================== --- tools/archStat/trunk/src/prj/net/sf/japi/archstat/FileStat.java 2010-04-11 10:19:05 UTC (rev 1402) +++ tools/archStat/trunk/src/prj/net/sf/japi/archstat/FileStat.java 2010-04-11 10:19:34 UTC (rev 1403) @@ -115,7 +115,7 @@ for (final RegexLineCheck regexLineCheck : checkers) { final Integer i = checkWarnings.get(regexLineCheck); if (i != null && i > 0) { - System.err.println(file + ": " + regexLineCheck.getMessageType() + ": " + i + " " + regexLineCheck.getPlural()); + System.err.printf("%s: %s: %d %s%n", file, regexLineCheck.getMessageType(), i, regexLineCheck.getPlural()); } } if (getWarnings() > 0) { @@ -185,7 +185,7 @@ /** {@inheritDoc} */ @Override public String toString() { - return title + ";" + errors.size() + ";" + linesRaw + ";" + linesNoComment + ";" + commentLines + ";" + sourceLines; + return title + ';' + errors.size() + ';' + linesRaw + ';' + linesNoComment + ';' + commentLines + ';' + sourceLines; } /** Prints recursive statistics including table header to the specified appendable. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |