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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)