Phillip Webb
470a255b0d
Polish
3 years ago
Phillip Webb
7c508fa324
Update copyright year of changed files
3 years ago
Moritz Halbritter
e8d809fe65
Replace 'via' with 'over' or 'through' in the documentation
...
Closes gh-33878
3 years ago
Moritz Halbritter
524a4b6c1e
Only return complete accessor name when accessor has a backing field
3 years ago
Moritz Halbritter
26d658802f
Add support for record accessors in spring-boot-configuration-processor
...
Closes gh-29526
3 years ago
Moritz Halbritter
6c44055fd4
Polish PropertyDescriptorResolver
3 years ago
Phillip Webb
a2ac38e203
Update copyright year of changed files
3 years ago
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
3 years ago
Moritz Halbritter
b132b5c317
Polish JSON classes
3 years ago
Moritz Halbritter
725337f976
Make fields final
...
Closes gh-33537
3 years ago
Johnny Lim
6027508cf7
Polish
...
See gh-33108
3 years ago
Phillip Webb
d7ac20cd6c
Update copyright year of changed files
3 years ago
Andy Wilkinson
99edda735e
Polish
3 years ago
Phillip Webb
1a14f39f83
Polish
3 years ago
Phillip Webb
c53c8c84b8
Fix annotation processor to deal with relocated @ConstructorBinding
...
Update `ConfigurationMetadataAnnotationProcessor` to use the correct
location for the `@ConstructorBinding` annotation and to deal with
finding it as a meta-annotation.
Closes gh-32660
3 years ago
Phillip Webb
a34b1d3c6e
Don't detect private constructors on member classes for binding
...
Refine constructor binding detection logic so that `private`
constructors on member classes are no longer automatically picked for
constructor binding. This provides users a way of signalling that
they wish to use the constructor directly.
Closes gh-32639
3 years ago
Phillip Webb
754f39e6ef
Polish
3 years ago
Phillip Webb
e0b67889a8
Use Stream.toList instead of Stream.collect when possible
...
Update code to make use of `Stream.toList()` whenever possible.
Closes gh-28177
3 years ago
Scott Frederick
d25a99692f
Replace Spring Boot TestCompiler with Spring Framework's version
...
See gh-31266
3 years ago
Marc Wrobel
dbfc6bded4
Fix typos in code and documentation
...
See gh-31734
3 years ago
Andy Wilkinson
c87340e5c1
Remove unnecessary throws
4 years ago
Andy Wilkinson
f49b16c645
Upgrade to Spring Java Format 0.0.34
...
Closes gh-31524
4 years ago
Stephane Nicoll
79d3e3080f
Polish
4 years ago
Phillip Webb
7fc9debf2a
Consider super classes when detecting nested property classes
...
Update `PropertyDescriptor.isParentTheSame` to consider the candidate
as well as all super classes.
Fixes gh-21626
4 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
4 years ago
Andy Wilkinson
682ac53f32
Ensure that config processor runs with only AutoConfiguration
...
Fixes gh-31186
4 years ago
Andy Wilkinson
4fd2e0c916
Polish "Fix typos"
...
See gh-30773
4 years ago
Andy Wilkinson
f6d24dc1a8
Fix typos
...
See gh-30773
4 years ago
Phillip Webb
dd5696b59b
Update copyright year of changed files
4 years ago
dreis2211
a63e730136
Remove unused private methods
...
See gh-30655
4 years ago
Andy Wilkinson
fbb060e0fe
Polish
...
See 5d8c1d9bd7 .
4 years ago
Andy Wilkinson
d574563616
Document @ConstructorBinding and @DefaultValue with records
...
Closes gh-30460
4 years ago
Andy Wilkinson
5ee3fdab77
Polish "Allow @DefaultValue to be used on record components"
...
See gh-29010
4 years ago
Pavel Anisimov
976ed90cd7
Allow @DefaultValue to be used on record components
...
See gh-29010
4 years ago
Andy Wilkinson
a265f150ac
Improve parsing of numeric default values
...
Previously, all integral numbers were parsed as integers. This
caused two problems:
1. Compilation would fail if the default value for a long wasn't a
valid integer.
2. The default value for a byte or short could be out of range,
resulting in the generation of invalid metadata and an error
that could have been caught at compile time not being caught
until runtime.
This commit updates the parsing of all numeric values to use the
parse method of the target primitive type. For example,
Short.parseShort(String) is now used to parse a short.
Fixes gh-30020
4 years ago
Madhura Bhave
bf1ed5f2f8
Update copyright header on changed files
4 years ago
Madhura Bhave
44b88cc88c
Allow @ConstructorBinding to be optional
...
This commit makes @ConstructorBinding optional for a type
that has a single parameterized constructor. An @Autowired annotation
on any of the constructors indicates that the type should not be constructor
bound.
Since @ConstructorBinding is now deduced for a single parameterized constructor,
the annotation is no longer needed at the type level.
Closes gh-23216
4 years ago
Andy Wilkinson
fe7b13ec46
Upgrade to Spring Framework 6 and Jakarta EE 9
...
Closes gh-28619
Closes gh-28620
Closes gh-28621
Closes gh-28622
Closes gh-28623
Closes gh-28624
Closes gh-28625
Closes gh-28626
Closes gh-28627
Closes gh-28628
Closes gh-28629
Closes gh-28630
Closes gh-28631
Closes gh-28632
Closes gh-28633
Closes gh-28634
Closes gh-28635
Closes gh-28636
Closes gh-28638
Closes gh-28639
Closes gh-28640
Closes gh-28644
Closes gh-28645
Closes gh-28650
Closes gh-28711
Closes gh-28866
Closes gh-28867
Closes gh-28868
Closes gh-28872
See gh-28641
See gh-28642
See gh-28643
See gh-28646
See gh-28647
See gh-28648
See gh-28649
See gh-28721
See gh-28869
See gh-28871
4 years ago
Phillip Webb
beb68671bb
Update copyright year of changed files
4 years ago
Andy Wilkinson
2cec3971d7
Prohibit unwanted dependencies in all modules not just starters
...
Closes gh-28658
4 years ago
Phillip Webb
2f6651c3cb
Don't use markdown syntax in javadoc or error messages
...
Closes gh-28408
4 years ago
Stephane Nicoll
cc8d7fc605
Polish contribution
...
See gh-28239
4 years ago
Leo Li
1770f065a5
Polish
...
See gh-28239
4 years ago
dreis2211
cf0fcafd13
Polish
...
See gh-27940
4 years ago
Andy Wilkinson
ffbd28b60a
Polish "Polish access modifiers for test classes"
...
See gh-27736
4 years ago
Andy Wilkinson
681df90d33
Generate metadata for records using implicit constructor binding
...
Closes gh-27216
4 years ago
Stephane Nicoll
69c2621a14
Polish "Add support for @Value annotation"
...
See gh-26337
5 years ago
Mark Jeffrey
14d86034a1
Add support for @Value annotation
...
This commit adds support for `@Value` from project Lombok for metadata
generation. This is very similar to the existing `@Data` support.
See gh-26337
5 years ago
weixsun
8a2be288a3
Remove unnecessary throws declaration in tests
...
See gh-26441
5 years ago
Stephane Nicoll
52994027f4
Fix checkstyle violation
5 years ago