[jira] [Created] (FLINK-21371) flink-runtime-web: Using lambda to replace anonymous inner classes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21371) flink-runtime-web: Using lambda to replace anonymous inner classes

Shang Yuanchun (Jira)
BeanNan created FLINK-21371:
-------------------------------

             Summary: flink-runtime-web: Using lambda to replace anonymous inner classes
                 Key: FLINK-21371
                 URL: https://issues.apache.org/jira/browse/FLINK-21371
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / REST
    Affects Versions: 1.13.0
            Reporter: BeanNan
             Fix For: 1.13.0
         Attachments: image-2021-02-13-18-24-38-534.png, image-2021-02-13-18-27-53-982.png, image-2021-02-13-18-28-12-083.png

org/apache/flink/runtime/webmonitor/history/HistoryServer.java:127

Here you can use lambda to replace the anonymous internal class, personally I think the code will be a bit more concise, I want to ask the community's opinion to see if there is a need to make changes here.

 

!image-2021-02-13-18-27-53-982.png!

 

!image-2021-02-13-18-28-12-083.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)