mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2343 - Rename Database.getAutoTune() to autoTune() with deprecation
This commit is contained in:
@@ -333,7 +333,7 @@ public class TDSpiEbeanServer implements SpiEbeanServer {
|
||||
}
|
||||
|
||||
@Override
|
||||
public AutoTune getAutoTune() {
|
||||
public AutoTune autoTune() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ public class TestBatchLazy extends BaseTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
Ebean.getDefaultServer().getAutoTune().collectProfiling();
|
||||
Ebean.getDefaultServer().getAutoTune().reportProfiling();
|
||||
Ebean.getDefaultServer().autoTune().collectProfiling();
|
||||
Ebean.getDefaultServer().autoTune().reportProfiling();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ public class TestAutofetchTuneWithJoin extends BaseTestCase {
|
||||
|
||||
private static void collectUsage() {
|
||||
|
||||
Ebean.getDefaultServer().getAutoTune().collectProfiling();
|
||||
Ebean.getDefaultServer().autoTune().collectProfiling();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@ public class TestAutoTuneProfiling extends BaseTestCase {
|
||||
|
||||
private static void collectUsage() {
|
||||
|
||||
DB.getDefault().getAutoTune().collectProfiling();
|
||||
DB.getDefault().autoTune().collectProfiling();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user