Remove extra parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397071 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fccccfd095
commit
2ea171f2ed
|
@ -95,7 +95,7 @@ abstract class Lexer {
|
|||
* @return true if the given char is a whitespace character
|
||||
*/
|
||||
boolean isWhitespace(int c) {
|
||||
return (c != format.getDelimiter()) && Character.isWhitespace((char) c);
|
||||
return c != format.getDelimiter() && Character.isWhitespace((char) c);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -109,7 +109,7 @@ abstract class Lexer {
|
|||
// note: does not change c outside of this method !!
|
||||
c = in.read();
|
||||
}
|
||||
return (c == '\n' || c == '\r');
|
||||
return c == '\n' || c == '\r';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -127,7 +127,7 @@ public class PerformanceTest {
|
|||
for(int i=1; i < num; i++) { // skip first test
|
||||
tot += elapsedTimes[i];
|
||||
}
|
||||
System.out.printf("%-20s: %5dms%n%n", "Average(not first)", (tot/(num-1)));
|
||||
System.out.printf("%-20s: %5dms%n%n", "Average(not first)", tot/(num-1));
|
||||
}
|
||||
num=0; // ready for next set
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue