Commit 135e9d10 authored by Phillip Webb's avatar Phillip Webb

Polish

parent 0253f21f
...@@ -183,7 +183,7 @@ public class AuthenticationManagerConfiguration { ...@@ -183,7 +183,7 @@ public class AuthenticationManagerConfiguration {
ReflectionUtils.makeAccessible(field); ReflectionUtils.makeAccessible(field);
ReflectionUtils.setField(field, target, value); ReflectionUtils.setField(field, target, value);
} }
catch (Exception e) { catch (Exception ex) {
logger.info("Could not set " + name); logger.info("Could not set " + name);
} }
} }
......
...@@ -186,11 +186,9 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { ...@@ -186,11 +186,9 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
if (classifier.length() > 0 && !classifier.startsWith("-")) { if (classifier.length() > 0 && !classifier.startsWith("-")) {
classifier = "-" + classifier; classifier = "-" + classifier;
} }
if (!this.outputDirectory.exists()) { if (!this.outputDirectory.exists()) {
this.outputDirectory.mkdirs(); this.outputDirectory.mkdirs();
} }
return new File(this.outputDirectory, this.finalName + classifier + "." return new File(this.outputDirectory, this.finalName + classifier + "."
+ this.project.getArtifact().getArtifactHandler().getExtension()); + this.project.getArtifact().getArtifactHandler().getExtension());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment