6a923464afa6b635f505be5d5b2414d47d570f99
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method private convertToProtoFormat(t ApplicationId) : ApplicationIdProto from class org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NodeHeartbeatResponsePBImpl to public convertToProtoFormat(t ApplicationId) : ApplicationIdProto from class org.apache.hadoop.yarn.api.records.impl.pb.ProtoUtils | From | To | |
Move Method private convertFromProtoFormat(p ApplicationIdProto) : ApplicationIdPBImpl from class org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NodeHeartbeatResponsePBImpl to public convertFromProtoFormat(p ApplicationIdProto) : ApplicationIdPBImpl from class org.apache.hadoop.yarn.api.records.impl.pb.ProtoUtils | From | To | |
Rename Variable | 1 | ||
Rename Variable byteBuffer1 : ByteBuffer to byteBuffer : ByteBuffer in method public testNodeHeartBeatResponse() : void in class org.apache.hadoop.yarn.server.api.protocolrecords.TestProtocolRecords | From | To | |
Inline Method | 1 | ||
Inline Method private initSystemCredentials() : void inlined to public getSystemCredentialsForApps() : Collection<SystemCredentialsForAppsProto> in class org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NodeHeartbeatResponsePBImpl | From | To | |
Change Return Type | 5 | ||
Change Return Type ConcurrentMap<ApplicationId,ByteBuffer> to ConcurrentMap<ApplicationId,SystemCredentialsForAppsProto> in method public getSystemCredentialsForApps() : ConcurrentMap<ApplicationId,SystemCredentialsForAppsProto> in class org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl | From | To | |
Change Return Type Map<ApplicationId,ByteBuffer> to Collection<SystemCredentialsForAppsProto> in method public getSystemCredentialsForApps() : Collection<SystemCredentialsForAppsProto> in class org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NodeHeartbeatResponsePBImpl | From | To | |
Change Return Type ConcurrentMap<ApplicationId,ByteBuffer> to ConcurrentMap<ApplicationId,SystemCredentialsForAppsProto> in method public getSystemCredentialsForApps() : ConcurrentMap<ApplicationId,SystemCredentialsForAppsProto> in class org.apache.hadoop.yarn.server.resourcemanager.RMContext | From | To | |
Change Return Type ConcurrentMap<ApplicationId,ByteBuffer> to ConcurrentMap<ApplicationId,SystemCredentialsForAppsProto> in method public getSystemCredentialsForApps() : ConcurrentMap<ApplicationId,SystemCredentialsForAppsProto> in class org.apache.hadoop.yarn.server.resourcemanager.RMActiveServiceContext | From | To | |
Change Return Type Map<ApplicationId,ByteBuffer> to Collection<SystemCredentialsForAppsProto> in method public abstract getSystemCredentialsForApps() : Collection<SystemCredentialsForAppsProto> in class org.apache.hadoop.yarn.server.api.protocolrecords.NodeHeartbeatResponse | From | To | |
Move Attribute | 1 | ||
Move Attribute private BYTE_STRING_INTERNER : Interner<ByteString> from class org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.NodeHeartbeatResponsePBImpl to public BYTE_STRING_INTERNER : Interner<ByteString> from class org.apache.hadoop.yarn.api.records.impl.pb.ProtoUtils | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type systemCredentials : ConcurrentMap<ApplicationId,ByteBuffer> to systemCredentials : ConcurrentMap<ApplicationId,SystemCredentialsForAppsProto> in class org.apache.hadoop.yarn.server.resourcemanager.RMActiveServiceContext | From | To |