Phillip Webb
286ef61071
Narrow auto-configure checkstyle suppressions
...
Closes gh-21015
4 years ago
Andy Wilkinson
30a0ccab02
Remove use of `@PostConstruct` from main code
...
When running on Java 11 (where `@PostConstruct` is no longer part of
the JRE) and without a dependency on jakarta-annotation-api,
`@PostContruct` annotions are silently dropped. This leads to obscure and
hard-to-track down changes in the behaviour of our auto-configuration
as the `@PostConstruct`-annotated methods are not invoked.
To allow users to run on Java 11 without having jakarta-annotation-api
on the classpath, this commit removes use of `@PostConstruct` from main
code. A Checkstyle rule has also been added to prevent its usage in
main code from being reintroduced.
Closes gh-23723
4 years ago
Phillip Webb
8b3728a57e
Refine StringSequence checkstyle suppression
...
See gh-23440
4 years ago
Phillip Webb
4945806d84
Make `StringSequence.isEmpty()` public
...
Make `StringSequence.isEmpty()` public for compatibility with JDK 15.
Closes gh-23440
4 years ago
Stephane Nicoll
066471b1d9
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23076
4 years ago
dreis2211
7bf32e9bb1
Disallow Apache Commons Lang & Lang3 imports
...
See gh-23071
4 years ago
Andy Wilkinson
4a896f2272
Merge branch '2.1.x' into 2.2.x
...
Closes gh-21471
5 years ago
Andy Wilkinson
fdc63d71fe
Use HTTPS when linking to groovy-lang.org
...
Closes gh-21466
5 years ago
Andy Wilkinson
dd4377e69c
Merge branch '2.1.x'
...
Closes gh-18912
5 years ago
Andy Wilkinson
d1ead884c4
Fix @ServletComponentScan with a component index
...
Previously @ServletComponentScan did not work when there was a
component index on the classpath as it made an assumption about
the concrete type of the BeanDefinitions produced by scanning that
does not hold true when an index is present.
This commit updates the scanning and the handlers to correct the
assumpution by working with a bean definition type that is produced
by scanning both when there is and when there is not an index present.
To prevent the problem from reoccuring, a test that uses and index
has been added and the import of ScannedGenericBeanDefinition is now
prohibited by Checkstyle.
Closes gh-18910
5 years ago
Andy Wilkinson
cf62dc862b
Polish "Correct Mono import in LegacyHealthEndpointCompatibilityConfiguration"
...
See gh-18571
5 years ago
dreis2211
d8de6fff53
Polish
...
See gh-18557
5 years ago
dreis2211
38d5a52ac4
Remove obsolete checkstyle suppressions
...
See gh-17522
5 years ago
dreis2211
0f0278e69b
Migrate ModifiedClassPath tests to JUnit 5
...
Migrate the remaining JUnit 4 tests to JUnit 5, making use of the
new `ModifiedClassPathExtension`.
See gh-17491
5 years ago
Andy Wilkinson
a40bc64f6e
Merge branch '2.1.x'
...
Closes gh-17463
5 years ago
Andy Wilkinson
c5241f0e82
Remove accidental usage of com.hazelcast.util.Base64
...
Closes gh-17461
5 years ago
Phillip Webb
a66c4d3096
Unify method visibility of private classes
...
Apply checkstyle rule to ensure that private and package private
classes do not have unnecessary public methods. Test classes have
also been unified as much as possible to use default scoped
inner-classes.
Closes gh-7316
5 years ago
Ilya Lukyanovich
569830cdca
Migrate LogbackLoggingSystemTests to JUnit 5
...
See gh-17107
5 years ago
Phillip Webb
605599138e
Merge branch '2.1.x'
5 years ago
Phillip Webb
92bff3c328
Merge branch '2.0.x' into 2.1.x
5 years ago
Phillip Webb
cfeb0239b7
Merge branch '1.5.x' into 2.0.x
5 years ago
Phillip Webb
fc7a99d0df
Merge branch '2.1.x'
...
Closes gh-17362
5 years ago
Phillip Webb
6425fb6ec8
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17361
5 years ago
Phillip Webb
4f079803d2
Merge branch '1.5.x' into 2.0.x
...
Closes gh-17359
5 years ago
Madhura Bhave
d5c0009c6e
Rename samples to smoke tests
...
Closes gh-17197
5 years ago
Phillip Webb
0b720b99b2
Merge branch '2.1.x'
...
Closes gh-17308
5 years ago
Phillip Webb
02e705c8e4
Relax nohttp requirement for service.wsdl
...
Unfortunately https references cause eclipse errors so we need to
relax the requirement for this file.
Fixes gh-17307
5 years ago
Johnny Lim
f283aa18eb
Use "JUnit" instead of "Junit"
...
See gh-17272
5 years ago
Issam El-atif
9fafcda929
Add JUnit 4 and the Vintage Engine sample
...
This commit adds a sample to verify the use of JUnit 4 and the Vintage
Engine.
See gh-17100
5 years ago
Andy Wilkinson
9b5cb4f9b8
Remove need for public constructor on inner-class
...
Closes gh-17086
6 years ago
Phillip Webb
b3d5cd538d
Add JUnit 5 checkstyle rules
...
Add a rule to enforce JUnit 5 usage and conventions.
Closes gh-17093
6 years ago
Phillip Webb
266d6334b2
Fix checkstyle RedundantModifier test violations
6 years ago
Phillip Webb
cde4f0d688
Fix checkstyle violations
6 years ago
Phillip Webb
4c21dc1c31
Merge branch '2.1.x'
6 years ago
Phillip Webb
866e2b712e
Merge branch '2.0.x' into 2.1.x
6 years ago
Phillip Webb
2c8881a908
Merge branch '1.5.x' into 2.0.x
6 years ago
Andy Wilkinson
137de1a2d9
Merge branch '2.1.x'
...
Closes gh-17084
6 years ago
Andy Wilkinson
39b74b17f6
Merge branch '2.0.x' into 2.1.x
...
Closes gh-17083
6 years ago
Andy Wilkinson
bdf5f48c71
Merge branch '1.5.x' into 2.0.x
6 years ago
Phillip Webb
071410c437
Merge branch '2.1.x'
6 years ago
Phillip Webb
857b96b77d
Merge branch '2.0.x' into 2.1.x
6 years ago
Phillip Webb
3f3d1d1768
Ignore Gradle plugin build output
6 years ago
Phillip Webb
db75347eb6
Merge branch '2.1.x'
6 years ago
Phillip Webb
0ef331018e
Merge branch '2.0.x' into 2.1.x
6 years ago
Phillip Webb
7fc01971ed
Merge branch '1.5.x' into 2.0.x
6 years ago
Phillip Webb
d306b31ce9
Merge branch '2.1.x'
6 years ago
Phillip Webb
ccfbd03482
Merge branch '2.0.x' into 2.1.x
6 years ago
Phillip Webb
5fba43aa31
Merge branch '1.5.x' into 2.0.x
6 years ago
Phillip Webb
2a66dafb4f
Merge branch '2.1.x'
...
Closes gh-17019
6 years ago
Phillip Webb
d057f49618
Restore JUnit assert checkstyle restrictions
...
Closes gh-16949
6 years ago