[
https://issues.apache.org/jira/browse/FLINK-22409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17328321#comment-17328321
]
Xintong Song commented on FLINK-22409:
--------------------------------------
Thanks for reporting this [~simen].
I'd like to kindly remind you that the Apache Flink contribution guideline
requires jira tickets to be opened for solving valid problems, which does not
include fixing typos.
https://flink.apache.org/contributing/contribute-code.html
I've assigned you for this time. In the future, you can open a PR directly for
such a hotfix. And of course you can ping me on the PR if you need a review.
> Rename ResourceProfile class throwUnsupportedOperationExecptionIfUnknown
> method
> -------------------------------------------------------------------------------
>
> Key: FLINK-22409
> URL: https://issues.apache.org/jira/browse/FLINK-22409
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Task
> Affects Versions: 1.12.2
> Reporter: simenliuxing
> Assignee: simenliuxing
> Priority: Minor
> Fix For: 1.13.0, 1.14.0
>
>
> throwUnsupportedOperationExecptionIfUnknown method has a mistake name. It
> should be 'throwUnsupportedOperationExceptionIfUnknown' , and All other
> references to this method are changed to
> 'throwUnsupportedOperationExceptionIfUnknown' .
> {code:java}
> // mistake name.
> private void throwUnsupportedOperationExecptionIfUnknown() {
> if (this.equals(UNKNOWN)) {
> throw new UnsupportedOperationException();
> }
> }
> // new
> private void throwUnsupportedOperationExceptionIfUnknown() {
> if (this.equals(UNKNOWN)) {
> throw new UnsupportedOperationException();
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)