Skip to content

Commit 87f807a

Browse files
committed
fix order of methods
1 parent 58e874a commit 87f807a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/testing/TestApiTracer.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@ public AtomicBoolean getRetriesExhausted() {
6363
return retriesExhausted;
6464
}
6565

66-
@Override
67-
public void attemptFailed(Throwable error, Duration delay) {
68-
attemptsFailed.incrementAndGet();
69-
}
70-
7166
@Override
7267
public void attemptStarted(int attemptNumber) {
7368
attemptsStarted.incrementAndGet();
@@ -78,6 +73,11 @@ public void attemptStarted(Object request, int attemptNumber) {
7873
attemptsStarted.incrementAndGet();
7974
}
8075

76+
@Override
77+
public void attemptFailed(Throwable error, Duration delay) {
78+
attemptsFailed.incrementAndGet();
79+
}
80+
8181
@Override
8282
public void operationFailed(Throwable error) {
8383
operationFailed.set(true);

0 commit comments

Comments
 (0)