Skip to content

Commit bad8061

Browse files
committed
Add final modifier to local variables.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1743530 13f79535-47bb-0310-9956-ffa450edef68
1 parent 71c209f commit bad8061

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ public CSVFormat withFirstRecordAsHeader() {
13821382
public CSVFormat withHeader(final Class<? extends Enum<?>> headerEnum) {
13831383
String[] header = null;
13841384
if (headerEnum != null) {
1385-
Enum<?>[] enumValues = headerEnum.getEnumConstants();
1385+
final Enum<?>[] enumValues = headerEnum.getEnumConstants();
13861386
header = new String[enumValues.length];
13871387
for (int i = 0; i < enumValues.length; i++) {
13881388
header[i] = enumValues[i].name();

0 commit comments

Comments
 (0)