You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2022/12/11 10:45:49 UTC

[GitHub] [shenyu] yu199195 commented on a diff in pull request #4260: [ISSUE #4243] to avoid load the same ext plugins repeatedly

yu199195 commented on code in PR #4260:
URL: https://github.com/apache/shenyu/pull/4260#discussion_r1045210773


##########
shenyu-web/src/main/java/org/apache/shenyu/web/loader/ShenyuPluginLoader.java:
##########
@@ -28,22 +28,15 @@
 import org.springframework.beans.factory.support.GenericBeanDefinition;
 import org.springframework.stereotype.Component;
 import org.springframework.stereotype.Service;
+import org.springframework.util.StringUtils;
 
 import java.io.Closeable;
 import java.io.File;
 import java.io.IOException;
 import java.lang.annotation.Annotation;
 import java.net.MalformedURLException;
 import java.net.URL;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.Enumeration;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Set;
+import java.util.*;

Review Comment:
   not used import java.util.*



-- 
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-unsubscribe@shenyu.apache.org

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