Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
Rename noisy interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard Bolos committed Jan 9, 2017
1 parent 8572b5e commit 5660fb2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import java.util.List;
import java.util.Map;

import novoda.lib.sqliteprovider.sqlite.IDatabaseMetaInfo.SQLiteType;
import novoda.lib.sqliteprovider.sqlite.DatabaseMetaInfo.SQLiteType;

import static android.database.DatabaseUtils.createDbFromSqlStatements;
import static android.test.MoreAsserts.assertContentsInAnyOrder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import novoda.lib.sqliteprovider.util.Constraint;

public interface IDatabaseMetaInfo {
public interface DatabaseMetaInfo {

enum SQLiteType {
NULL, INTEGER, REAL, TEXT, BLOB, NUMERIC;
Expand All @@ -15,6 +15,7 @@ public static SQLiteType fromName(String columnType) {
return valueOf(columnType.toUpperCase());
}
}

Map<String, SQLiteType> getColumns(String table);

List<String> getTables();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import novoda.lib.sqliteprovider.util.Constraint;
import novoda.lib.sqliteprovider.util.DBUtils;

public class SQLiteDatabaseMetaInfo implements IDatabaseMetaInfo {
public class SQLiteDatabaseMetaInfo implements DatabaseMetaInfo {

private final Map<String, List<Constraint>> constraints = new HashMap<String, List<Constraint>>();
private final SQLiteOpenHelper helper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.util.List;
import java.util.Map;

import novoda.lib.sqliteprovider.sqlite.IDatabaseMetaInfo.SQLiteType;
import novoda.lib.sqliteprovider.sqlite.DatabaseMetaInfo.SQLiteType;

public final class DBUtils {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.util.Map;
import java.util.TreeMap;

import novoda.lib.sqliteprovider.sqlite.IDatabaseMetaInfo.SQLiteType;
import novoda.lib.sqliteprovider.sqlite.DatabaseMetaInfo.SQLiteType;

public class DatabaseStructure {

Expand Down

0 comments on commit 5660fb2

Please sign in to comment.