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


##########
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:
   Because its parent class method implements the same logic



-- 
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: [email protected]

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

Reply via email to