cd883f2d37f2d0088b02dbe68af8395664a8bdb0
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type publishCallback : Consumer<Long> to publishCallback : Consumer<Duration> in method package RecordingTimeMetric(name String, publishCallback Consumer<Duration>) in class org.apache.james.metrics.tests.RecordingTimeMetric | From | To | |
| Rename Variable | 1 | ||
| Rename Variable sleepDurationInMs : long to sleepDuration : Duration in method package runHooksShouldPublishTimerMetrics() : void in class org.apache.james.mailbox.store.PreDeletionHooksTest | From | To | |
| Change Return Type | 1 | ||
| Change Return Type Collection<Long> to Collection<Duration> in method public executionTimesFor(name String) : Collection<Duration> in class org.apache.james.metrics.tests.RecordingMetricFactory | From | To | |
| Move Class | 2 | ||
| Move Class org.apache.james.mailbox.store.PreDeletionHooksTest.RecordingMetricFactory moved to org.apache.james.metrics.tests.RecordingMetricFactory | From | To | |
| Move Class org.apache.james.mailbox.store.PreDeletionHooksTest.RecordingTimeMetric moved to org.apache.james.metrics.tests.RecordingTimeMetric | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type sleepDurationInMs : long to sleepDuration : Duration in method package runHooksShouldPublishTimerMetrics() : void in class org.apache.james.mailbox.store.PreDeletionHooksTest | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type executionTimesInMs : Multimap<String,Long> to executionTimesInMs : Multimap<String,Duration> in class org.apache.james.metrics.tests.RecordingMetricFactory | From | To | |
| Change Attribute Type publishCallback : Consumer<Long> to publishCallback : Consumer<Duration> in class org.apache.james.metrics.tests.RecordingTimeMetric | From | To |