182fc1986a984ed0be6bed297390a830c2305af1
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 6 | ||
Rename Variable mockAttrs : Attributes to attributes : Attributes in method public setupMocks() : void in class org.apache.hadoop.security.TestLdapGroupsMappingWithPosixGroup | From | To | |
Rename Variable ctx : DirContext to c : DirContext in method package doGetGroups(user String) : List<String> in class org.apache.hadoop.security.LdapGroupsMapping | From | To | |
Rename Variable mockGidNumberAttr : Attribute to gidNumberAttr : Attribute in method public setupMocks() : void in class org.apache.hadoop.security.TestLdapGroupsMappingWithPosixGroup | From | To | |
Rename Variable mockGroupResult : SearchResult to groupSearchResult : SearchResult in method public setupMocksBase() : void in class org.apache.hadoop.security.TestLdapGroupsMappingBase | From | To | |
Rename Variable mockUidNumberAttr : Attribute to uidNumberAttr : Attribute in method public setupMocks() : void in class org.apache.hadoop.security.TestLdapGroupsMappingWithPosixGroup | From | To | |
Rename Variable mockUidAttr : Attribute to uidAttr : Attribute in method public setupMocks() : void in class org.apache.hadoop.security.TestLdapGroupsMappingWithPosixGroup | From | To | |
Rename Attribute | 2 | ||
Rename Attribute mockUserNamingEnum : NamingEnumeration to userNames : NamingEnumeration<SearchResult> in class org.apache.hadoop.security.TestLdapGroupsMappingBase | From | To | |
Rename Attribute mockGroupNamingEnum : NamingEnumeration to groupNames : NamingEnumeration<SearchResult> in class org.apache.hadoop.security.TestLdapGroupsMappingBase | From | To | |
Extract Variable | 1 | ||
Extract Variable returningAttributes : String[] in method public setConf(conf Configuration) : void from class org.apache.hadoop.security.LdapGroupsMapping | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type mockGroupNamingEnum : NamingEnumeration to groupNames : NamingEnumeration<SearchResult> in class org.apache.hadoop.security.TestLdapGroupsMappingBase | From | To | |
Change Attribute Type mockUserNamingEnum : NamingEnumeration to userNames : NamingEnumeration<SearchResult> in class org.apache.hadoop.security.TestLdapGroupsMappingBase | From | To | |
Extract Method | 2 | ||
Extract Method private lookupPosixGroup(result SearchResult, c DirContext) : NamingEnumeration<SearchResult> extracted from package doGetGroups(user String) : List<String> in class org.apache.hadoop.security.LdapGroupsMapping | From | To | |
Extract Method private lookupGroup(result SearchResult, c DirContext) : List<String> extracted from package doGetGroups(user String) : List<String> in class org.apache.hadoop.security.LdapGroupsMapping | From | To |