mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2347 - Rename Database.getPlatform() to platform() with deprecation
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user