Skip to content

Commit

Permalink
format nit
Browse files Browse the repository at this point in the history
  • Loading branch information
akats7 committed Nov 20, 2024
1 parent fceec97 commit 647d433
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ private <REQUEST, RESPONSE> AttributesExtractor<REQUEST, RESPONSE> messagingAttr
.build();
}


Instrumenter<SqsReceiveRequest, Response<?>> consumerReceiveInstrumenter() {
MessageOperation operation = MessageOperation.RECEIVE;
SqsReceiveRequestAttributesGetter getter = SqsReceiveRequestAttributesGetter.INSTANCE;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ private Instrumenter<Request<?>, Response<?>> getInstrumenter(Request<?> request
String className = request.getOriginalRequest().getClass().getName();
if (className.startsWith(DYNAMODBV2)) {
return dynamoInstrumenter;
}
else if (className.equals(SEND_MESSAGE_REQUEST)) {
} else if (className.equals(SEND_MESSAGE_REQUEST)) {
return producerInstrumenter;
}
return requestInstrumenter;
Expand Down

0 comments on commit 647d433

Please sign in to comment.