187a969931e1a3e8d899461a4fae0b930ba2d9c5
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method package getMessageComputedByComparisonFailure() : String renamed to public getMessage() : String in class com.google.common.truth.Platform.PlatformComparisonFailure | From | To | |
Rename Method package getMessageComputedByComparisonFailure() : String renamed to private makeMessage(message String, expected String, actual String, suffix String, messageStrategy ComparisonFailureMessageStrategy) : String in class com.google.common.truth.Platform.PlatformComparisonFailure | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type messages : ImmutableList<Message> to messages : ImmutableList<LazyMessage> in method package FailureMetadata(strategy FailureStrategy, messages ImmutableList<LazyMessage>, steps ImmutableList<Step>) in class com.google.common.truth.FailureMetadata | From | To | |
Change Parameter Type chain : ImmutableList<Subject<?,?>> to steps : ImmutableList<Step> in method private derive(messages ImmutableList<LazyMessage>, steps ImmutableList<Step>) : FailureMetadata in class com.google.common.truth.FailureMetadata | From | To | |
Change Parameter Type chain : ImmutableList<Subject<?,?>> to steps : ImmutableList<Step> in method package FailureMetadata(strategy FailureStrategy, messages ImmutableList<LazyMessage>, steps ImmutableList<Step>) in class com.google.common.truth.FailureMetadata | From | To | |
Change Parameter Type messages : ImmutableList<Message> to messages : ImmutableList<LazyMessage> in method private derive(messages ImmutableList<LazyMessage>, steps ImmutableList<Step>) : FailureMetadata in class com.google.common.truth.FailureMetadata | From | To | |
Move Method | 1 | ||
Move Method package countPlaceholders(template String) : int from class com.google.common.truth.FailureMetadata to package countPlaceholders(template String) : int from class com.google.common.truth.LazyMessage | From | To | |
Rename Variable | 2 | ||
Rename Variable chain : ImmutableList<Subject<?,?>> to steps : ImmutableList<Step> in method package updateForSubject(subject Subject<?,?>) : FailureMetadata in class com.google.common.truth.FailureMetadata | From | To | |
Rename Variable subject : Subject<?,?> to step : Step in method private rootCause() : Throwable in class com.google.common.truth.FailureMetadata | From | To | |
Rename Attribute | 1 | ||
Rename Attribute chain : ImmutableList<Subject<?,?>> to steps : ImmutableList<Step> in class com.google.common.truth.FailureMetadata | From | To | |
Change Variable Type | 3 | ||
Change Variable Type subject : Subject<?,?> to step : Step in method private rootCause() : Throwable in class com.google.common.truth.FailureMetadata | From | To | |
Change Variable Type chain : ImmutableList<Subject<?,?>> to steps : ImmutableList<Step> in method package updateForSubject(subject Subject<?,?>) : FailureMetadata in class com.google.common.truth.FailureMetadata | From | To | |
Change Variable Type messages : ImmutableList<Message> to messages : ImmutableList<LazyMessage> in method package withMessage(format String, args Object[]) : FailureMetadata in class com.google.common.truth.FailureMetadata | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type messages : ImmutableList<Message> to messages : ImmutableList<LazyMessage> in class com.google.common.truth.FailureMetadata | From | To | |
Change Attribute Type chain : ImmutableList<Subject<?,?>> to steps : ImmutableList<Step> in class com.google.common.truth.FailureMetadata | From | To | |
Rename Parameter | 2 | ||
Rename Parameter chain : ImmutableList<Subject<?,?>> to steps : ImmutableList<Step> in method package FailureMetadata(strategy FailureStrategy, messages ImmutableList<LazyMessage>, steps ImmutableList<Step>) in class com.google.common.truth.FailureMetadata | From | To | |
Rename Parameter chain : ImmutableList<Subject<?,?>> to steps : ImmutableList<Step> in method private derive(messages ImmutableList<LazyMessage>, steps ImmutableList<Step>) : FailureMetadata in class com.google.common.truth.FailureMetadata | From | To |