mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
unused declaration inspection: clone EntryPoint-s in inspection constructor because each of EntryPoint has different settings for each profiles/scopes IDEA-157208
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ public class UnusedDeclarationInspectionBase extends GlobalInspectionTool {
|
||||
List<EntryPoint> deadCodeAddIns = new ArrayList<EntryPoint>(extensions.length);
|
||||
for (EntryPoint entryPoint : extensions) {
|
||||
try {
|
||||
deadCodeAddIns.add(entryPoint);
|
||||
deadCodeAddIns.add(entryPoint.clone());
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOG.error(e);
|
||||
|
||||
Reference in New Issue
Block a user