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:
Gary D. Gregory 2012-10-11 14:24:23 +00:00
parent fccccfd095
commit 2ea171f2ed
2 changed files with 3 additions and 3 deletions

View File

@ -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';
}
/**

View File

@ -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
}