File tree Expand file tree Collapse file tree
objectbox-java/src/main/java/io/objectbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ public class ModelBuilder {
1616 final List <Integer > entityOffsets = new ArrayList <>();
1717
1818 long version = 1 ;
19- Long lastEntityId ;
20- Long lastIndexId ;
19+ Integer lastEntityId ;
20+ Integer lastIndexId ;
2121
2222 public class PropertyBuilder {
2323 boolean finished ;
@@ -148,12 +148,12 @@ public EntityBuilder entity(String name) {
148148 return new EntityBuilder (name );
149149 }
150150
151- public ModelBuilder lastEntityId (long lastEntityId ) {
151+ public ModelBuilder lastEntityId (int lastEntityId ) {
152152 this .lastEntityId = lastEntityId ;
153153 return this ;
154154 }
155155
156- public ModelBuilder lastIndexId (long lastIndexId ) {
156+ public ModelBuilder lastIndexId (int lastIndexId ) {
157157 this .lastIndexId = lastIndexId ;
158158 return this ;
159159 }
You can’t perform that action at this time.
0 commit comments