flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhueske <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-1820] CSVReader: In case of an empty st...
Date Mon, 27 Apr 2015 13:06:27 GMT
Github user fhueske commented on a diff in the pull request:

    --- Diff: flink-core/src/main/java/org/apache/flink/types/parser/FloatParser.java ---
    @@ -102,6 +111,10 @@ public static final float parseField(byte[] bytes, int startPos,
int length, cha
     		String str = new String(bytes, startPos, i);
    +		int len = str.length();
    +		if(len > str.trim().length()) {
    --- End diff --
    See other comment on `String.trim()`

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message