This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-csv.git

commit 5c53b34bcf13189d719ed51451fd349117bce736
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Wed Jan 8 06:46:41 2025 -0500

    Add Checstyle ParenPad
---
 src/conf/checkstyle/checkstyle.xml                      | 1 +
 src/test/java/org/apache/commons/csv/CSVParserTest.java | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/conf/checkstyle/checkstyle.xml 
b/src/conf/checkstyle/checkstyle.xml
index e9a87380..5063904b 100644
--- a/src/conf/checkstyle/checkstyle.xml
+++ b/src/conf/checkstyle/checkstyle.xml
@@ -60,6 +60,7 @@ limitations under the License.
     <module name="OperatorWrap">
       <property name="option" value="eol" />
     </module>
+    <module name="ParenPad" />
     <module name="RedundantImport" />
     <module name="RedundantModifier" />
     <module name="RightCurly" />
diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java 
b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index ee1fd8f8..da49a78c 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/commons/csv/CSVParserTest.java
@@ -897,7 +897,7 @@ public class CSVParserTest {
             .setDelimiter(',')
             .setQuote('\'')
             .get();
-        try (CSVParser parser = CSVParser.builder().setReader(new 
StringReader(code)).setFormat(format).setCharset(UTF_8).setTrackBytes(true).get()
 ) {
+        try (CSVParser parser = CSVParser.builder().setReader(new 
StringReader(code)).setFormat(format).setCharset(UTF_8).setTrackBytes(true).get())
 {
             CSVRecord record = new CSVRecord(parser, null, null, 1L, 0L, 0L);
 
             assertEquals(0, parser.getRecordNumber());

Reply via email to