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
This commit is contained in:
Gary D. Gregory 2016-05-12 17:02:27 +00:00
parent 71c209fdce
commit bad8061043
1 changed files with 1 additions and 1 deletions

View File

@ -1382,7 +1382,7 @@ public final class CSVFormat implements Serializable {
public CSVFormat withHeader(final Class<? extends Enum<?>> headerEnum) {
String[] header = null;
if (headerEnum != null) {
Enum<?>[] enumValues = headerEnum.getEnumConstants();
final Enum<?>[] enumValues = headerEnum.getEnumConstants();
header = new String[enumValues.length];
for (int i = 0; i < enumValues.length; i++) {
header[i] = enumValues[i].name();