#2359 - Rename plugin api methods with deprecation - QueryPlanMetric

This commit is contained in:
rbygrave committed 2021-09-08 10:53:32 +12:00
1 parent 8b98335e2e
commit a15e1ae0a7
3 files changed
+11 -3

No files matched your search

@@ -12,7 +12,7 @@ abstract class DtoQueryPlanBase implements DtoQueryPlan {
DtoQueryPlanBase(DtoMappingRequest request) {
this.planMetric = request.createMetric();
this.metric = planMetric.getMetric();
this.metric = planMetric.metric();
}
@Override
@@ -27,7 +27,7 @@ final class DQueryPlanMetric implements QueryPlanMetric {
}
@Override
public TimedMetric getMetric() {
public TimedMetric metric() {
return metric;
}