0a554391b481744cf5307ef3df0e02988a5eba99
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public customTypePropositionWithFailure() : void renamed to public customTypePropositionWithFailureMessage() : void in class com.google.common.truth.delegation.DelegationTest | From | To | |
Pull Up Method | 2 | ||
Pull Up Method protected abstract getFailureMessage() : String from class com.google.common.truth.AbstractVerb to protected getFailureMessage() : String from class com.google.common.truth.FailureContext | From | To | |
Pull Up Method protected hasFailureMessage() : boolean from class com.google.common.truth.AbstractVerb to protected hasFailureMessage() : boolean from class com.google.common.truth.FailureContext | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type verb : AbstractVerb<?> to messageHolder : FailureContext in method public MessagePrependingFailureStrategy(delegate FailureStrategy, messageHolder FailureContext) in class com.google.common.truth.AbstractVerb.MessagePrependingFailureStrategy | From | To | |
Move Method | 3 | ||
Move Method package countPlaceholders(template String) : int from class com.google.common.truth.TestVerb to package countPlaceholders(template String) : int from class com.google.common.truth.FailureContext | From | To | |
Move Method public getFailureMessage() : String from class com.google.common.truth.TestVerb to protected getFailureMessage() : String from class com.google.common.truth.FailureContext | From | To | |
Move Method protected hasFailureMessage() : boolean from class com.google.common.truth.TestVerb to protected hasFailureMessage() : boolean from class com.google.common.truth.FailureContext | From | To | |
Move Attribute | 2 | ||
Move Attribute private args : Object[] from class com.google.common.truth.TestVerb to private args : Object[] from class com.google.common.truth.FailureContext | From | To | |
Move Attribute private format : String from class com.google.common.truth.TestVerb to private format : String from class com.google.common.truth.FailureContext | From | To | |
Extract Class | 1 | ||
Extract Class com.google.common.truth.FailureContext from class com.google.common.truth.TestVerb | From | To | |
Extract Superclass | 1 | ||
Extract Superclass com.google.common.truth.FailureContext from classes [com.google.common.truth.AbstractVerb] | From | To | |
Rename Parameter | 2 | ||
Rename Parameter verb : AbstractVerb<?> to messageHolder : FailureContext in method public MessagePrependingFailureStrategy(delegate FailureStrategy, messageHolder FailureContext) in class com.google.common.truth.AbstractVerb.MessagePrependingFailureStrategy | From | To | |
Rename Parameter format : String to message : String in method public TestVerb(failureStrategy FailureStrategy, message String) in class com.google.common.truth.TestVerb | From | To |