moremind commented on code in PR #5618:
URL: https://github.com/apache/shenyu/pull/5618#discussion_r1740145639


##########
shenyu-admin/src/main/java/org/apache/shenyu/admin/model/event/metadata/BatchMetaDataDeletedEvent.java:
##########
@@ -44,16 +42,7 @@ public BatchMetaDataDeletedEvent(final 
Collection<MetaDataDO> source, final Stri
         super(source, null, EventTypeEnum.META_DATA_DELETE, operator);
         this.deletedIds = ListUtil.map(source, BaseDO::getId);
     }
-    
-    @Override
-    public String buildContext() {
-        final String metaData = ((Collection<?>) getSource())
-                .stream()
-                .map(s -> ((MetaDataDO) s).getAppName())
-                .collect(Collectors.joining(","));
-        return String.format("the meta data [%s] is %s", metaData, 
StringUtils.lowerCase(getType().getType().toString()));

Review Comment:
   why remove?



-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@shenyu.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to