4d8e807e5414d26fd912aae7017760e32fe7c38e
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package constructorShouldThrowWhenNullId() : void renamed to package idShouldThrowOnNull() : void in class org.apache.james.jmap.api.filtering.RuleTest | From | To | |
Change Return Type | 1 | ||
Change Return Type String to Id in method public getId() : Id in class org.apache.james.jmap.api.filtering.Rule | From | To | |
Move Attribute | 3 | ||
Move Attribute public RULE_3 : Rule from class org.apache.james.jmap.api.filtering.FilteringManagementContract to public RULE_3 : Rule from class org.apache.james.jmap.api.filtering.RuleFixture | From | To | |
Move Attribute public RULE_2 : Rule from class org.apache.james.jmap.api.filtering.FilteringManagementContract to public RULE_2 : Rule from class org.apache.james.jmap.api.filtering.RuleFixture | From | To | |
Move Attribute public RULE_1 : Rule from class org.apache.james.jmap.api.filtering.FilteringManagementContract to public RULE_1 : Rule from class org.apache.james.jmap.api.filtering.RuleFixture | From | To | |
Replace Variable With Attribute | 5 | ||
Replace Variable With Attribute user : User to USER : User in method public listingRulesForUnknownUserShouldReturnEmptyList(eventStore EventStore) : void in class org.apache.james.jmap.api.filtering.FilteringManagementContract | From | To | |
Replace Variable With Attribute user : User to USER : User in method public definingRulesShouldKeepOrdering(eventStore EventStore) : void in class org.apache.james.jmap.api.filtering.FilteringManagementContract | From | To | |
Replace Variable With Attribute user : User to USER : User in method public listingRulesShouldReturnDefinedRules(eventStore EventStore) : void in class org.apache.james.jmap.api.filtering.FilteringManagementContract | From | To | |
Replace Variable With Attribute user : User to USER : User in method public listingRulesShouldReturnLastDefinedRules(eventStore EventStore) : void in class org.apache.james.jmap.api.filtering.FilteringManagementContract | From | To | |
Replace Variable With Attribute user : User to USER : User in method public definingEmptyRuleListShouldRemoveExistingRules(eventStore EventStore) : void in class org.apache.james.jmap.api.filtering.FilteringManagementContract | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type id : String to id : Id in class org.apache.james.jmap.api.filtering.Rule | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public clearRulesForUser(user User) : void extracted from public definingEmptyRuleListShouldRemoveExistingRules(eventStore EventStore) : void in class org.apache.james.jmap.api.filtering.FilteringManagementContract & moved to class org.apache.james.jmap.api.filtering.FilteringManagement | From | To |