[
https://issues.apache.org/jira/browse/FLINK-7438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16136217#comment-16136217
]
ASF GitHub Bot commented on FLINK-7438:
---------------------------------------
GitHub user yew1eb opened a pull request:
https://github.com/apache/flink/pull/4570
[FLINK-7438][DataStream API]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 d28f4b8eca85230faea8c3b8c9b868741fc63886
Author: yew1eb <[email protected]>
Date: 2017-08-22T03:16:51Z
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
> 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)