43ebff2e354142bddcb42755766a965ae8a503a6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public setNodeLabels(updatedNodeLabels List<NodeLabel>) : void renamed to public setNodeLabelList(nodeLabels List<NodeLabel>) : void in class org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetClusterNodeLabelsResponsePBImpl | From | To | |
Rename Method public abstract setNodeLabels(labels List<NodeLabel>) : void renamed to public abstract setNodeLabelList(labels List<NodeLabel>) : void in class org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodeLabelsResponse | From | To | |
Move Method | 2 | ||
Move Method public getCurrentState() : Enum<?> from class org.apache.hadoop.yarn.state.InvalidStateTransitionException to public getCurrentState() : Enum<?> from class org.apache.hadoop.yarn.state.InvalidStateTransitonException | From | To | |
Move Method public getEvent() : Enum<?> from class org.apache.hadoop.yarn.state.InvalidStateTransitionException to public getEvent() : Enum<?> from class org.apache.hadoop.yarn.state.InvalidStateTransitonException | From | To | |
Rename Variable | 1 | ||
Rename Variable request : GetClusterNodeLabelsResponse to response : GetClusterNodeLabelsResponse in method public newInstance(labels List<NodeLabel>) : GetClusterNodeLabelsResponse in class org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodeLabelsResponse | From | To | |
Change Return Type | 2 | ||
Change Return Type List<NodeLabel> to Set<String> in method public abstract getNodeLabels() : Set<String> in class org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodeLabelsResponse | From | To | |
Change Return Type List<NodeLabel> to Set<String> in method public getNodeLabels() : Set<String> in class org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetClusterNodeLabelsResponsePBImpl | From | To | |
Move Attribute | 2 | ||
Move Attribute private currentState : Enum<?> from class org.apache.hadoop.yarn.state.InvalidStateTransitionException to private currentState : Enum<?> from class org.apache.hadoop.yarn.state.InvalidStateTransitonException | From | To | |
Move Attribute private event : Enum<?> from class org.apache.hadoop.yarn.state.InvalidStateTransitionException to private event : Enum<?> from class org.apache.hadoop.yarn.state.InvalidStateTransitonException | From | To | |
Extract Method | 1 | ||
Extract Method public getNodeLabelList() : List<NodeLabel> extracted from public getNodeLabels() : List<NodeLabel> in class org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetClusterNodeLabelsResponsePBImpl | From | To | |
Rename Parameter | 1 | ||
Rename Parameter updatedNodeLabels : List<NodeLabel> to nodeLabels : List<NodeLabel> in method public setNodeLabelList(nodeLabels List<NodeLabel>) : void in class org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetClusterNodeLabelsResponsePBImpl | From | To |