Loading sharding-jdbc/src/test/java/io/shardingsphere/dbtest/env/authority/Authority.java +2 −3 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package io.shardingsphere.dbtest.env.authority; import io.shardingsphere.core.constant.DatabaseType; import io.shardingsphere.dbtest.env.authority.sql.SQLSet; import io.shardingsphere.dbtest.env.authority.sql.SQLType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; Loading @@ -46,7 +45,7 @@ public final class Authority { public Collection<String> getInitSQLs(final DatabaseType databaseType) { Collection<String> result = new LinkedList<>(); for (SQLSet each : sqlSets) { result.addAll(each.getAllSQLContent(SQLType.Init, databaseType)); result.addAll(each.getCreateUserSQLs(databaseType)); } return result; } Loading @@ -60,7 +59,7 @@ public final class Authority { public Collection<String> getCleanSQLs(final DatabaseType databaseType) { Collection<String> result = new LinkedList<>(); for (SQLSet each : sqlSets) { result.addAll(each.getAllSQLContent(SQLType.Clean, databaseType)); result.addAll(each.getDropUserSQLs(databaseType)); } return result; } Loading Loading
sharding-jdbc/src/test/java/io/shardingsphere/dbtest/env/authority/Authority.java +2 −3 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package io.shardingsphere.dbtest.env.authority; import io.shardingsphere.core.constant.DatabaseType; import io.shardingsphere.dbtest.env.authority.sql.SQLSet; import io.shardingsphere.dbtest.env.authority.sql.SQLType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; Loading @@ -46,7 +45,7 @@ public final class Authority { public Collection<String> getInitSQLs(final DatabaseType databaseType) { Collection<String> result = new LinkedList<>(); for (SQLSet each : sqlSets) { result.addAll(each.getAllSQLContent(SQLType.Init, databaseType)); result.addAll(each.getCreateUserSQLs(databaseType)); } return result; } Loading @@ -60,7 +59,7 @@ public final class Authority { public Collection<String> getCleanSQLs(final DatabaseType databaseType) { Collection<String> result = new LinkedList<>(); for (SQLSet each : sqlSets) { result.addAll(each.getAllSQLContent(SQLType.Clean, databaseType)); result.addAll(each.getDropUserSQLs(databaseType)); } return result; } Loading