simenliuxing created FLINK-22409:
------------------------------------

             Summary: 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
             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)

Reply via email to