-
Notifications
You must be signed in to change notification settings - Fork 13.8k
[FLINK-3560] [examples] Remove unchecked output of usage statement in examples #1752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
If we remove the default usage printing, I think it would be nice to make sure that all examples implement
instead of |
That is a good point @vasia. Will add the missing |
Added the missing |
I remember a discussion from a while back that we actually wanted to drop It comes from the days when programs had to implement specific interface and it does not really go together very well with the idea of a simple static main-method as the entry point. |
I think Stephan has a point and we should maybe not encourage usage of Other than that, I think it's a good idea to remove the unconditional usage printing. |
Admittedly, this feature isn't used by many programs but I think it does not hurt to keep and implement this interface, unless we plan to remove it soon. There was a discussion which also involved |
I don't think the examples should implement the I think it is not a problem that optional program parameters such as |
Hmm but if it is nowhere implemented then we could directly remove Furthermore, I don't think that it would harm if people implemented this interface. And if they look in the code, then they will also see that it's highly optional. |
From my side, +1 for removing the I think it is a mismatch with the |
That is a good point with the instantiation of the instances. I will update the PR accordingly. |
1b103f2
to
6a23aa1
Compare
Removed the |
Thanks, Till! I think this is ready to finally be merged. I will go ahead and do it. |
… examples This closes apache#1752.
… examples This closes apache#1752.
This PR effectively removes all unconditioned outputs of the usage message of the examples.