mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '3.5.x'
Closes gh-48306
This commit is contained in:
+1
-1
@@ -244,7 +244,7 @@ public class CommandRunner implements Iterable<Command> {
|
||||
if (ex instanceof CommandException commandException) {
|
||||
options = commandException.getOptions();
|
||||
if (options.contains(CommandException.Option.RETHROW)) {
|
||||
throw (CommandException) ex;
|
||||
throw commandException;
|
||||
}
|
||||
}
|
||||
boolean couldNotShowMessage = false;
|
||||
|
||||
+1
-1
@@ -138,7 +138,7 @@ class AnnotationsPropertySource extends EnumerablePropertySource<Class<?>> {
|
||||
}
|
||||
else if (value instanceof MergedAnnotation<?> annotation) {
|
||||
for (Method attribute : annotation.getType().getDeclaredMethods()) {
|
||||
collectProperties(name, defaultSkip, (MergedAnnotation<?>) value, attribute, properties);
|
||||
collectProperties(name, defaultSkip, annotation, attribute, properties);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user