Skip to content

Commit

Permalink
Issue #7772 was re-fixed to support API compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii0lomakin committed Oct 26, 2017
1 parent 896dcff commit 530f44f
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,21 @@ public static final class InstanceHolder {
public ODatabaseDocumentInternal get() {
return ODatabaseRecordThreadLocal.instance().get();
}

public void remove() {
ODatabaseRecordThreadLocal.instance().remove();
}

public void set(final ODatabaseDocumentInternal value) {
ODatabaseRecordThreadLocal.instance().set(value);
}

public ODatabaseDocumentInternal getIfDefined() {
return ODatabaseRecordThreadLocal.instance().getIfDefined();
}

public boolean isDefined() {
return ODatabaseRecordThreadLocal.instance().isDefined();
}
}
}

0 comments on commit 530f44f

Please sign in to comment.