File tree Expand file tree Collapse file tree
main/java/org/apache/commons/csv
test/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ void trimTrailingSpaces(StringBuilder buffer) {
9595 * @return true if the given char is a whitespace character
9696 */
9797 boolean isWhitespace (int c ) {
98- return ( c != format .getDelimiter () ) && Character .isWhitespace ((char ) c );
98+ return c != format .getDelimiter () && Character .isWhitespace ((char ) c );
9999 }
100100
101101 /**
@@ -109,7 +109,7 @@ boolean isEndOfLine(int c) throws IOException {
109109 // note: does not change c outside of this method !!
110110 c = in .read ();
111111 }
112- return ( c == '\n' || c == '\r' ) ;
112+ return c == '\n' || c == '\r' ;
113113 }
114114
115115 /**
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ private static void show(){
127127 for (int i =1 ; i < num ; i ++) { // skip first test
128128 tot += elapsedTimes [i ];
129129 }
130- System .out .printf ("%-20s: %5dms%n%n" , "Average(not first)" , ( tot /(num -1 ) ));
130+ System .out .printf ("%-20s: %5dms%n%n" , "Average(not first)" , tot /(num -1 ));
131131 }
132132 num =0 ; // ready for next set
133133 }
You can’t perform that action at this time.
0 commit comments