Skip to content

Commit

Permalink
Fix scope of summary variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Nov 14, 2022
1 parent 02091f1 commit 9023501
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -372,6 +372,7 @@ protected void doApply(Plugin.Engine.Source source, Plugin.Engine.Target target)
}
List<Transformation> transformations = new ArrayList<Transformation>(getTransformations());
ClassLoader classLoader = ByteBuddySkippingUrlClassLoader.of(getClass().getClassLoader(), discoverySet(), classPath());
Plugin.Engine.Summary summary;
try {
if (discovery.isDiscover(transformations)) {
Set<String> undiscoverable = new HashSet<String>();
Expand Down Expand Up @@ -423,7 +424,6 @@ protected void doApply(Plugin.Engine.Source source, Plugin.Engine.Target target)
: new ClassFileLocator.ForFolder(artifact));
}
ClassFileLocator classFileLocator = new ClassFileLocator.Compound(classFileLocators);
Plugin.Engine.Summary summary;
try {
getLogger().info("Processing class files located in in: {}", source());
Plugin.Engine pluginEngine;
Expand Down

0 comments on commit 9023501

Please sign in to comment.