[jira] [Created] (FLINK-14720) Bring down ExecutionVertex#deployToSlot access modifier and mark it with @VisibleForTesting annotation

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

[jira] [Created] (FLINK-14720) Bring down ExecutionVertex#deployToSlot access modifier and mark it with @VisibleForTesting annotation

Shang Yuanchun (Jira)
vinoyang created FLINK-14720:
--------------------------------

             Summary: Bring down ExecutionVertex#deployToSlot access modifier and mark it with @VisibleForTesting annotation
                 Key: FLINK-14720
                 URL: https://issues.apache.org/jira/browse/FLINK-14720
             Project: Flink
          Issue Type: Improvement
            Reporter: vinoyang


From tracking the call chain of {{ExecutionVertex#deployToSlot}}, it seems this method is only been called in the test code. IMO, we'd better bring down {{ExecutionVertex#deployToSlot}} access modifier and mark it with @VisibleForTesting annotation to reduce the risk of incorrect calls



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