Skip to content
This repository was archived by the owner on Apr 4, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ public static void setThreadLocal() {
THREAD_INSTANCE.set(new MaterializationService());
}

public static void setThreadLocal(MaterializationService service) {
THREAD_INSTANCE.set(service);
}
/** Returns the instance of the materialization service. Usually the global
* one, but returns a thread-local one during testing (when
* {@link #setThreadLocal()} has been called by the current thread). */
Expand Down