Skip to content

Commit 23ce490

Browse files
committed
Update CSVEncoder.
1 parent 1e235cb commit 23ce490

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kilo-client/src/main/java/org/httprpc/kilo/io/CSVEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ private void encode(Iterable<?> rows, Writer writer) throws IOException {
132132

133133
if (resourceBundle != null) {
134134
try {
135-
heading = resourceBundle.getObject(key.toString());
135+
heading = resourceBundle.getObject(heading.toString());
136136
} catch (MissingResourceException exception) {
137137
// No-op
138138
}

0 commit comments

Comments
 (0)