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 334e4c1 commit e11bda2Copy full SHA for e11bda2
google-cloud-spanner/src/test/java/com/google/cloud/spanner/MockSpannerServiceImpl.java
@@ -1914,6 +1914,9 @@ public void beginTransaction(
1914
1915
private String getMutationString(Mutation mutation) {
1916
StringBuilder sb = new StringBuilder();
1917
+ if(mutation == null) {
1918
+ return "";
1919
+ }
1920
try {
1921
if (mutation.hasInsert()) {
1922
for (ListValue listValue : mutation.getInsert().getValuesList()) {
0 commit comments