2b08a1fc644904a37545107666efc25b3552542d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Return Type | 1 | ||
Change Return Type void to Token<DelegationTokenIdentifier> in method private testGetToken(renewer String, service String, expectedTokenKind Text) : Token<DelegationTokenIdentifier> in class org.apache.hadoop.security.token.delegation.web.TestDelegationTokenAuthenticationHandlerWithMocks | From | To | |
Extract Variable | 2 | ||
Extract Variable testTokenKind : Text in method public testManagementOperations() : void from class org.apache.hadoop.security.token.delegation.web.TestDelegationTokenAuthenticationHandlerWithMocks | From | To | |
Extract Variable queryString : String in method private testGetToken(renewer String, service String, expectedTokenKind Text) : Token<DelegationTokenIdentifier> from class org.apache.hadoop.security.token.delegation.web.TestDelegationTokenAuthenticationHandlerWithMocks | From | To | |
Extract Method | 3 | ||
Extract Method public createToken(ugi UserGroupInformation, renewer String, service String) : Token<? extends AbstractDelegationTokenIdentifier> extracted from public createToken(ugi UserGroupInformation, renewer String) : Token<? extends AbstractDelegationTokenIdentifier> in class org.apache.hadoop.security.token.delegation.web.DelegationTokenManager | From | To | |
Extract Method private testCancelToken(token Token<DelegationTokenIdentifier>) : void extracted from private testCancelToken() : void in class org.apache.hadoop.security.token.delegation.web.TestDelegationTokenAuthenticationHandlerWithMocks | From | To | |
Extract Method private testRenewToken(dToken Token<DelegationTokenIdentifier>, testRenewer String) : void extracted from private testRenewToken() : void in class org.apache.hadoop.security.token.delegation.web.TestDelegationTokenAuthenticationHandlerWithMocks | From | To |