mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Polish
This commit is contained in:
parent
0253f21f2f
commit
135e9d10a6
@ -183,7 +183,7 @@ public class AuthenticationManagerConfiguration {
|
||||
ReflectionUtils.makeAccessible(field);
|
||||
ReflectionUtils.setField(field, target, value);
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (Exception ex) {
|
||||
logger.info("Could not set " + name);
|
||||
}
|
||||
}
|
||||
|
@ -186,11 +186,9 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
|
||||
if (classifier.length() > 0 && !classifier.startsWith("-")) {
|
||||
classifier = "-" + classifier;
|
||||
}
|
||||
|
||||
if (!this.outputDirectory.exists()) {
|
||||
this.outputDirectory.mkdirs();
|
||||
}
|
||||
|
||||
return new File(this.outputDirectory, this.finalName + classifier + "."
|
||||
+ this.project.getArtifact().getArtifactHandler().getExtension());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user