#2347 - Rename Database.getPlatform() to platform() with deprecation

This commit is contained in:
Rob Bygrave
2021-09-02 23:04:57 +12:00
parent 7fba9adc43
commit fe67abce83
35 changed files with 76 additions and 53 deletions
@@ -30,7 +30,7 @@ public class ClusterTest {
public void testBothNear() {
// ensure the default server exists first
final Database db = DB.getDefault();
Database other = createOther(db.getPluginApi().dataSource());
Database other = createOther(db.pluginApi().dataSource());
new QPerson()
.name.eq("Someone")
@@ -62,7 +62,7 @@ public class ClusterTest {
public void test() throws InterruptedException {
// ensure the default server exists first
final Database db = DB.getDefault();
Database other = createOther(db.getPluginApi().dataSource());
Database other = createOther(db.pluginApi().dataSource());
for (int i = 0; i < 10; i++) {
Person foo = new Person("name " + i);