File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
test/java/org/apache/commons/csv Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ limitations under the License.
6565 <module name =" LocalFinalVariableName" />
6666 <module name =" MissingOverride" />
6767 <module name =" ModifierOrder" />
68+ <module name =" MultipleVariableDeclarations" />
6869 <module name =" NeedBraces" />
6970 <module name =" OperatorWrap" >
7071 <property name =" option" value =" eol" />
Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ public String toString() {
6868 }
6969
7070 private Map <String , Integer > headerMap ;
71- private CSVRecord record , recordWithHeader ;
71+ private CSVRecord record ;
72+ private CSVRecord recordWithHeader ;
7273 private String [] values ;
7374
7475 @ BeforeEach
Original file line number Diff line number Diff line change @@ -95,7 +95,8 @@ public void testReadChar() throws Exception {
9595
9696 @ Test
9797 public void testReadingInDifferentBuffer () throws Exception {
98- final char [] tmp1 = new char [2 ], tmp2 = new char [4 ];
98+ final char [] tmp1 = new char [2 ];
99+ final char [] tmp2 = new char [4 ];
99100 try (ExtendedBufferedReader reader = createBufferedReader ("1\r \n 2\r \n " )) {
100101 reader .read (tmp1 , 0 , 2 );
101102 reader .read (tmp2 , 2 , 2 );
You can’t perform that action at this time.
0 commit comments