[
https://issues.apache.org/jira/browse/FLINK-22409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
simenliuxing updated FLINK-22409:
---------------------------------
Comment: was deleted
(was: Please assign this fix to me, thanks. cc [~jark])
> 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
> 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)