File tree Expand file tree Collapse file tree
core/sail/lmdb/src/main/java/org/eclipse/rdf4j/sail/lmdb Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,24 +70,28 @@ class Lazy extends Base implements Serializable {
7070 private static final long serialVersionUID = -2434063125560285009L ;
7171
7272 private final ValueStoreRevision revision ;
73+ private final long revisionId ;
74+ private final ValueStore valueStore ;
7375
7476 public Lazy (ValueStoreRevision revision ) {
7577 this .revision = revision ;
78+ this .revisionId = revision .getRevisionId ();
79+ this .valueStore = revision .getValueStore ();
7680 }
7781
7882 @ Override
7983 public long getRevisionId () {
80- return revision . getRevisionId () ;
84+ return revisionId ;
8185 }
8286
8387 @ Override
8488 public ValueStore getValueStore () {
85- return revision . getValueStore () ;
89+ return valueStore ;
8690 }
8791
8892 @ Override
8993 public boolean resolveValue (long id , LmdbValue value ) {
90- if (revision .resolveValue (id , value )) {
94+ if (valueStore .resolveValue (id , value )) {
9195 // set unwrapped version of revision
9296 value .setInternalID (id , revision );
9397 return true ;
You can’t perform that action at this time.
0 commit comments