flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-12287) Incorrect javadocs of StreamElement#isLatencyMarker
Date Thu, 16 May 2019 08:39:00 GMT

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

Chesnay Schepler updated FLINK-12287:
-------------------------------------
    Summary: Incorrect javadocs of StreamElement#isLatencyMarker  (was: A document error in
"StreamElement.java")

> 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)

Mime
View raw message