Skip to content

Commit

Permalink
Don't use deprecated Futures#addCallback method (#78)
Browse files Browse the repository at this point in the history
## Before this PR
tracing-java doesn't work with guava 27

## After this PR
tracing-java works with guava 27
  • Loading branch information
robert3005 authored and bulldozer-bot[bot] committed Feb 26, 2019
1 parent b75b467 commit dcbaffa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void onFailure(Throwable error) {
log.trace("Failed to notify observer", error);
numInflights.decrementAndGet();
}
});
}, MoreExecutors.directExecutor());
} else {
log.trace("Failed to notify span observer since the maximum number of allowed concurrent observations was "
+ "exceeded", SafeArg.of("maxInflights", maxInflights));
Expand Down

0 comments on commit dcbaffa

Please sign in to comment.