You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "YangFei (JIRA)" <ji...@apache.org> on 2019/04/22 08:46:00 UTC

[jira] [Created] (FLINK-12287) A document error in "StreamElement.java"

YangFei created FLINK-12287:
-------------------------------

             Summary: A document error in "StreamElement.java"
                 Key: FLINK-12287
                 URL: https://issues.apache.org/jira/browse/FLINK-12287
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Operators
    Affects Versions: 1.8.0, 1.7.2
            Reporter: YangFei
            Assignee: YangFei
             Fix For: 2.0.0


/**
 * Checks whether this element is a record.
 * @return True, if this element is a record, false otherwise.
 */
public final boolean isRecord() {
 return getClass() == StreamRecord.class;
}

/**
 * {color:#FF0000}Checks whether this element is a record.{color}
 * @return True, if this element is a record, false otherwise.
 */
public final boolean isLatencyMarker() {
 return getClass() == LatencyMarker.class;
}

I think the red line words is not the current doc for function isLatencyMarker

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)