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] [Updated] (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 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)