We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c48dec commit 8234a26Copy full SHA for 8234a26
google-cloud-spanner/src/main/java/com/google/cloud/spanner/SessionImpl.java
@@ -149,7 +149,7 @@ interface SessionTransaction {
149
this.errorHandler = createErrorHandler(spanner.getOptions());
150
this.requestIdCreator = requestIdCreator;
151
if (this.requestIdCreator == null) {
152
- this.requestIdCreator = new XGoogSpannerRequestId.NoopRequestIdCreator();
+ throw new IllegalStateException("requestIdCreator must be non-null");
153
}
154
155
0 commit comments