Skip to content

Commit fe6bfb0

Browse files
committed
Remove unnecessary debugs
1 parent 5412908 commit fe6bfb0

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/DatabaseClientImpl.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -213,16 +213,8 @@ public CommitResponse writeWithOptions(
213213
return session.writeWithOptions(mutations, withReqId(reqId, options));
214214
});
215215
} catch (RuntimeException e) {
216-
System.out.println("runtime.crashing out\033[31m");
217-
e.printStackTrace();
218-
System.out.println("\033[00m");
219216
span.setStatus(e);
220217
throw e;
221-
} catch (Exception e) {
222-
System.out.println("crashing out\033[31m");
223-
e.printStackTrace();
224-
System.out.println("\033[00m");
225-
throw e;
226218
} finally {
227219
span.end();
228220
}

google-cloud-spanner/src/test/java/com/google/cloud/spanner/XGoogSpannerRequestIdTest.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -171,19 +171,6 @@ public methodAndRequestId[] accumulatedStreamingValues() {
171171
return accumulated.toArray(new methodAndRequestId[0]);
172172
}
173173

174-
public void printAccumulatedValues() {
175-
methodAndRequestId[] unary = this.accumulatedUnaryValues();
176-
System.out.println("accumulatedUnaryvalues");
177-
for (int i = 0; i < unary.length; i++) {
178-
System.out.println("\t" + unary[i].toString());
179-
}
180-
methodAndRequestId[] streaming = this.accumulatedStreamingValues();
181-
System.out.println("accumulatedStreaminvalues");
182-
for (int i = 0; i < streaming.length; i++) {
183-
System.out.println("\t" + streaming[i].toString());
184-
}
185-
}
186-
187174
public void reset() {
188175
this.gotValues.clear();
189176
this.unaryResults.clear();

0 commit comments

Comments
 (0)