linlinnn commented on a change in pull request #10339:
URL: https://github.com/apache/pulsar/pull/10339#discussion_r619060925



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/PersistentTopics.java
##########
@@ -1515,19 +1515,21 @@ public void removeBacklogQuota(@Suspended final 
AsyncResponse asyncResponse,
     public Integer getMessageTTL(@PathParam("tenant") String tenant,
                              @PathParam("namespace") String namespace,
                              @PathParam("topic") @Encoded String encodedTopic,
-                             @QueryParam("applied") boolean applied) {
+                             @DefaultValue("false")@QueryParam("applied") 
boolean applied) {

Review comment:
       maybe you want change like this:
   `@DefaultValue("false") @QueryParam("applied") Boolean applied`
   then the below
   `if (Boolean.TRUE.equals(applied))`
   keep others




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to