[ https://issues.apache.org/jira/browse/FLINK-7438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180971#comment-16180971 ]
ASF GitHub Bot commented on FLINK-7438: --------------------------------------- GitHub user yew1eb reopened a pull request: https://github.com/apache/flink/pull/4570 [FLINK-7438][build]Remove useless import, avoid warnings ## What is the purpose of the change Avoid warnings,details: [ISSUE #FLINK-7438](https://issues.apache.org/jira/browse/FLINK-7438). ## Brief change log Remove useless "import org.apache.flink.util.OutputTag" in DataStream.scala, AllWindowedStream.scala, WindowedStream.scala ## Verifying this change This change is already covered by existing tests. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): (no) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no) ## Documentation - Does this pull request introduce a new feature? (no) - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented) You can merge this pull request into a Git repository by running: $ git pull https://github.com/yew1eb/flink FLINK-7438 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/4570.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4570 ---- commit 8fe97c26ef18a9ba3846bc047e667d348265a0b6 Author: yew1eb <yew...@gmail.com> Date: 2017-09-26T15:45:18Z Remove useless import, avoid warnings ---- > Some classes are eclipsed by classes in package scala > ----------------------------------------------------- > > Key: FLINK-7438 > URL: https://issues.apache.org/jira/browse/FLINK-7438 > Project: Flink > Issue Type: Bug > Components: Build System, DataStream API > Reporter: Ted Yu > Assignee: Hai Zhou_UTC+8 > Priority: Minor > > Noticed the following during compilation: > {code} > [WARNING] > /flink/flink-streaming-scala/src/main/scala/org/apache/flink/streaming/api/scala/WindowedStream.scala:33: > warning: imported `OutputTag' is permanently hidden by definition of > object OutputTag in package scala > [WARNING] import org.apache.flink.util.{Collector, OutputTag} > [WARNING] ^ > [WARNING] > /flink/flink-streaming-scala/src/main/scala/org/apache/flink/streaming/api/scala/WindowedStream.scala:33: > warning: imported `OutputTag' is permanently hidden by definition of > class OutputTag in package scala > [WARNING] import org.apache.flink.util.{Collector, OutputTag} > {code} > We should avoid the warning e.r.t. OutputTag. > There may be other occurrences of similar warning. -- This message was sent by Atlassian JIRA (v6.4.14#64029)