mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2359 - Rename plugin api methods with deprecation - QueryPlanMetric
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user