Skip to content

Commit d3f59c5

Browse files
committed
added nullable
1 parent 9e7ddce commit d3f59c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/io/kafbat/ui/model/InternalTopic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public static InternalTopic from(TopicDescription topicDescription,
144144
return topic.build();
145145
}
146146

147-
public Long getMessagesNumber() {
147+
public @Nullable Long getMessagesNumber() {
148148
Long result = null;
149149
if (cleanUpPolicy.equals(CleanupPolicy.DELETE)) {
150150
result = 0L;

0 commit comments

Comments
 (0)