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:
parent
71c209fdce
commit
bad8061043
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue