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

[jira] [Closed] (FLINK-12287) Incorrect javadocs of StreamElement#isLatencyMarker

     [ https://issues.apache.org/jira/browse/FLINK-12287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-12287.
------------------------------------
    Resolution: Fixed

master: 41bb1b5cb2bb1670a6cdea2235f260446e5467ce

> Incorrect javadocs of StreamElement#isLatencyMarker
> ---------------------------------------------------
>
>                 Key: FLINK-12287
>                 URL: https://issues.apache.org/jira/browse/FLINK-12287
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation, Runtime / Operators
>            Reporter: YangFei
>            Assignee: YangFei
>            Priority: Trivial
>              Labels: pull-request-available, starter
>             Fix For: 1.9.0
>
>   Original Estimate: 1h
>          Time Spent: 20m
>  Remaining Estimate: 40m
>
> /**
>  * 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)