fixed copy/paste error: DropKeyspaceSpecification#dropTable() -> #dropKeyspace()

This commit is contained in:
Matthew Adams
2014-01-03 11:59:39 -06:00
parent 43c49dabc3
commit 264d84bcfb
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ public class DropKeyspaceSpecification extends KeyspaceNameSpecification<DropKey
* Entry point into the {@link DropKeyspaceSpecification}'s fluent API to drop a keyspace. Convenient if imported
* statically.
*/
public static DropKeyspaceSpecification dropTable() {
public static DropKeyspaceSpecification dropKeyspace() {
return new DropKeyspaceSpecification();
}

View File

@@ -27,7 +27,7 @@ public class DropKeyspaceCqlGeneratorTests {
public String name = "mykeyspace";
public DropKeyspaceSpecification specification() {
return DropKeyspaceSpecification.dropTable().name(name);
return DropKeyspaceSpecification.dropKeyspace().name(name);
}
public DropKeyspaceCqlGenerator generator() {