Github user jhorcicka commented on a diff in the pull request:
https://github.com/apache/metamodel/pull/122#discussion_r73656991
--- Diff:
fixedwidth/src/main/java/org/apache/metamodel/fixedwidth/FixedWidthReader.java
---
@@ -85,6 +92,15 @@ public FixedWidthReader(InputStream stream, String
charsetName, int[] valueWidth
_expectedLineLength = expectedLineLength;
}
+ private void initReader() {
+ try {
+ InputStreamReader inputStreamReader = new
InputStreamReader(_stream, _charsetName);
--- End diff --
This was the missing part in the previous version, _charsetName was not
used anywhere.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---