1fa4508e0a744a4a5cf040740b4d4cf367db9ee1
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type map : Map<String,List<Double>> to map : Map<String,Double> in method protected populateBucketEntries(map Map<String,Double>, mkey String, boundaries double[], bucketValues long[]) : void in class com.yahoo.pulsar.broker.stats.metrics.AbstractMetrics | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute aggregatedMetricsMap : Map<String,List<Double>> to tempAggregatedMetricsMap : Map<String,Double> in method private aggregate(ledgersByDimension Map<Metrics,List<ManagedLedgerImpl>>) : List<Metrics> in class com.yahoo.pulsar.broker.stats.metrics.ManagedLedgerMetrics | From | To | |
Change Variable Type | 2 | ||
Change Variable Type aggregatedMetricsMap : Map<String,List<Double>> to tempAggregatedMetricsMap : Map<String,Double> in method private aggregate(ledgersByDimension Map<Metrics,List<ManagedLedgerImpl>>) : List<Metrics> in class com.yahoo.pulsar.broker.stats.metrics.ManagedLedgerMetrics | From | To | |
Change Variable Type ma : Entry<String,List<Double>> to ma : Entry<String,Double> in method private aggregate(ledgersByDimension Map<Metrics,List<ManagedLedgerImpl>>) : List<Metrics> in class com.yahoo.pulsar.broker.stats.metrics.ManagedLedgerMetrics | From | To | |
Inline Variable | 3 | ||
Inline Variable ledgersMap : Map<String,ManagedLedgerImpl> in method private groupLedgersByDimension() : Map<Metrics,List<ManagedLedgerImpl>> from class com.yahoo.pulsar.broker.stats.metrics.ManagedLedgerMetrics | From | To | |
Inline Variable metricsName : String in method private aggregate(ledgersByDimension Map<Metrics,List<ManagedLedgerImpl>>) : List<Metrics> from class com.yahoo.pulsar.broker.stats.metrics.ManagedLedgerMetrics | From | To | |
Inline Variable ledgersByDimension : Map<Metrics,List<ManagedLedgerImpl>> in method public generate() : List<Metrics> from class com.yahoo.pulsar.broker.stats.metrics.ManagedLedgerMetrics | From | To |