We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 322ce1c commit b3bf36dCopy full SHA for b3bf36d
1 file changed
core/src/main/java/zipkin2/reporter/internal/AsyncReporter.java
@@ -291,7 +291,7 @@ void flush(BufferNextMessage<S> bundler) {
291
292
// Old senders in other artifacts may be using this less precise way of indicating they've been closed
293
// out-of-band.
294
- if (t instanceof IllegalStateException && t.getMessage().equals("closed")) {
+ if (t instanceof IllegalStateException && "closed".equals(t.getMessage())) {
295
throw (IllegalStateException) t;
296
}
297
0 commit comments