diff --git a/build.gradle b/build.gradle index 4ace7be..58dd736 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { } group = 'com.nucleodb' -version = '1.13.20' +version = '1.13.21' repositories { mavenCentral() diff --git a/src/main/java/com/nucleodb/library/database/index/TreeIndex.java b/src/main/java/com/nucleodb/library/database/index/TreeIndex.java index 82233db..122730f 100644 --- a/src/main/java/com/nucleodb/library/database/index/TreeIndex.java +++ b/src/main/java/com/nucleodb/library/database/index/TreeIndex.java @@ -20,8 +20,6 @@ public TreeIndex() { super(null); } - - private boolean unique; private TreeMap> reverseMap = new TreeMap<>(); private TreeMap> index = new TreeMap<>(); diff --git a/src/test/java/com/nucleodb/library/NucleoDBReadToTime.java b/src/test/java/com/nucleodb/library/NucleoDBReadToTime.java index c9fdfba..cdaf42c 100644 --- a/src/test/java/com/nucleodb/library/NucleoDBReadToTime.java +++ b/src/test/java/com/nucleodb/library/NucleoDBReadToTime.java @@ -47,7 +47,11 @@ public void readOnlyDB() throws IncorrectDataEntryObjectException, InterruptedEx NucleoDB nucleoDB = new NucleoDB( NucleoDB.DBType.READ_ONLY, c -> c.getConnectionConfig().setMqsConfiguration(new LocalConfiguration()), - c -> c.getDataTableConfig().setMqsConfiguration(new LocalConfiguration()), + c -> { + if(c.getClazz() == Author.class){ + c.getDataTableConfig().setMqsConfiguration(new LocalConfiguration()); + } + }, "com.nucleodb.library.helpers.models" ); DataTable table = nucleoDB.getTable(Author.class); diff --git a/src/test/java/com/nucleodb/library/helpers/models/AuthorDE.java b/src/test/java/com/nucleodb/library/helpers/models/AuthorDE.java index 9188a10..9904c2f 100644 --- a/src/test/java/com/nucleodb/library/helpers/models/AuthorDE.java +++ b/src/test/java/com/nucleodb/library/helpers/models/AuthorDE.java @@ -4,6 +4,8 @@ import com.nucleodb.library.database.modifications.Create; import com.nucleodb.library.database.tables.table.DataEntry; +import java.util.UUID; + public class AuthorDE extends DataEntry{ public AuthorDE(Author obj) { super(obj);