20d861c4b15d6bf879d0c53d29483f64cde17b79
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Attribute | 3 | ||
Rename Attribute responseCodes : Map<Integer,Long> to responseCodesMap : Map<Integer,Long> in class org.glassfish.jersey.server.internal.monitoring.ResponseStatisticsImpl.Builder | From | To | |
Rename Attribute exceptionMapperExecutionCount : Map<Class<?>,Long> to exceptionMapperExecutionCountMap : Map<Class<?>,Long> in class org.glassfish.jersey.server.internal.monitoring.ExceptionMapperStatisticsImpl.Builder | From | To | |
Rename Attribute requestStatisticsBuilder : ExecutionStatisticsImpl.Builder to executionStatisticsBuilder : ExecutionStatisticsImpl.Builder in class org.glassfish.jersey.server.internal.monitoring.MonitoringStatisticsImpl.Builder | From | To | |
Extract Variable | 2 | ||
Extract Variable cachedLocalReference : ResourceMethodStatisticsImpl in method package build() : ResourceMethodStatisticsImpl from class org.glassfish.jersey.server.internal.monitoring.ResourceMethodStatisticsImpl.Builder | From | To | |
Extract Variable cachedReference : ResourceStatisticsImpl in method package build() : ResourceStatisticsImpl from class org.glassfish.jersey.server.internal.monitoring.ResourceStatisticsImpl.Builder | From | To | |
Extract Method | 1 | ||
Extract Method private checkInNanos(reservoir TimeReservoir, snapshotTime long, expectedSize int, expectedMin int, expectedMax int, expectedMean long, expectedInterval long) : void extracted from private checkInNanos(reservoir TimeReservoir, snapshotTime long, expectedSize int, expectedMin int, expectedMax int, expectedMean long) : void in class org.glassfish.jersey.server.internal.monitoring.SlidingWindowTimeReservoirTest | From | To | |
Inline Variable | 1 | ||
Inline Variable values : Collection<Long> in method public getSnapshot(time long, timeUnit TimeUnit) : UniformTimeSnapshot from class org.glassfish.jersey.server.internal.monitoring.SlidingWindowTimeReservoir | From | To | |
Change Attribute Type | 8 | ||
Change Attribute Type stringToMethodsBuilders : Map<String,Builder> to stringToMethodsBuilders : ConcurrentMap<String,Builder> in class org.glassfish.jersey.server.internal.monitoring.ResourceMethodStatisticsImpl.Factory | From | To | |
Change Attribute Type resourceExecutionStatisticsBuilder : ExecutionStatisticsImpl.Builder to resourceExecutionStatisticsBuilder : AtomicReference<ExecutionStatisticsImpl.Builder> in class org.glassfish.jersey.server.internal.monitoring.ResourceStatisticsImpl.Builder | From | To | |
Change Attribute Type startTick : long to startTick : AtomicLong in class org.glassfish.jersey.server.internal.monitoring.SlidingWindowTimeReservoir | From | To | |
Change Attribute Type methodsBuilders : Set<ResourceMethodStatisticsImpl.Builder> to methodsBuilders : ConcurrentMap<ResourceMethodStatisticsImpl.Builder,Boolean> in class org.glassfish.jersey.server.internal.monitoring.ResourceStatisticsImpl.Builder | From | To | |
Change Attribute Type lastStartTime : Date to lastStartTime : long in class org.glassfish.jersey.server.internal.monitoring.ExecutionStatisticsImpl | From | To | |
Change Attribute Type requestExecutionStatisticsBuilder : ExecutionStatisticsImpl.Builder to requestExecutionStatisticsBuilder : AtomicReference<ExecutionStatisticsImpl.Builder> in class org.glassfish.jersey.server.internal.monitoring.ResourceStatisticsImpl.Builder | From | To | |
Change Attribute Type requestExecutionStatisticsBuilder : ExecutionStatisticsImpl.Builder to requestExecutionStatisticsBuilder : AtomicReference<ExecutionStatisticsImpl.Builder> in class org.glassfish.jersey.server.internal.monitoring.ResourceMethodStatisticsImpl.Builder | From | To | |
Change Attribute Type resourceMethodExecutionStatisticsBuilder : ExecutionStatisticsImpl.Builder to resourceMethodExecutionStatisticsBuilder : AtomicReference<ExecutionStatisticsImpl.Builder> in class org.glassfish.jersey.server.internal.monitoring.ResourceMethodStatisticsImpl.Builder | From | To |