Skip to content

Commit 04904fe

Browse files
committed
Drop useless @nullable annotations from MongoTracingCommandListener
1 parent bbe15e8 commit 04904fe

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: extensions/mongodb-client/runtime/src/main/java/io/quarkus/mongodb/tracing/MongoTracingCommandListener.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
import java.util.Optional;
55
import java.util.concurrent.ConcurrentHashMap;
66

7-
import javax.annotation.Nullable;
8-
97
import jakarta.inject.Inject;
108

119
import org.bson.BsonDocument;
@@ -100,8 +98,8 @@ public void onEnd(
10098
AttributesBuilder attributesBuilder,
10199
Context context,
102100
MongoCommand command,
103-
@Nullable Void unused,
104-
@Nullable Throwable throwable) {
101+
Void unused,
102+
Throwable throwable) {
105103
}
106104
}
107105
}

0 commit comments

Comments
 (0)