Phillip Webb
52f20b5281
Use parenthesis with single-arg lambdas
...
Use regular expression search/replace to ensure all single-arg
lambdas have parenthesis. This aligns with the style used in Spring
Boot and ensure that single-arg and multi-arg lambdas are consistent.
Issue gh-8945
6 years ago
Phillip Webb
ff94944313
Add whitespace after copyright header
...
Add an additional lines after the copyright header and before the
`package` declaration. This aligns with the style used by Spring
Framework.
Issue gh-8945
6 years ago
Phillip Webb
8d80166aaf
Update exception variable names
...
Consistently use `ex` for caught exception and `cause` for Exception
constructor arguments.
Issue gh-8945
6 years ago
Phillip Webb
e9130489a6
Remove restricted static imports
...
Replace static imports with class referenced methods. With the exception
of a few well known static imports, checkstyle restricts the static
imports that a class can use. For example, `asList(...)` would be
replaced with `Arrays.asList(...)`.
Issue gh-8945
6 years ago
Phillip Webb
db55ef4b3b
Migrate to BDD Mockito
...
Migrate Mockito imports to use the BDD variant. This aligns better with
the "given" / "when" / "then" style used in most tests since the "given"
block now uses Mockito `given(...)` calls.
The commit also updates a few tests that were accidentally using
Power Mockito when regular Mockito could be used.
Issue gh-8945
6 years ago
Phillip Webb
4d487e8dc3
Ensure all files end with a new line
...
Update all files to ensure that they always end with a new-line
character.
Issue gh-8945
6 years ago
Phillip Webb
3e700e7571
Remove (non-Javadoc) comments
...
Search and replace using '(?s)/\*\s*\* \(non-Javadoc\).*?\*/' to remove
all "(non-Javadoc)" comments. These comments used to be added
automatically by Eclipse, but are not really necessary.
Issue gh-8945
6 years ago
Phillip Webb
a2f2e9ac8d
Move inner-types so that they are always last
...
Move all inner-types so that they are consistently the last item
defined. This aligns with the style used by Spring Framework and
the consistency generally makes it easier to scan the source.
Issue gh-8945
6 years ago
Phillip Webb
9e08b51ed3
Apply code cleanup rules to projects
...
Apply automated cleanup rules to add `@Override` and `@Deprecated`
annotations and to fix class references used with static methods.
Issue gh-8945
6 years ago
Phillip Webb
8866fa6fb0
Always use 'this.' when accessing fields
...
Apply an Eclipse cleanup rules to ensure that fields are always accessed
using `this.`. This aligns with the style used by Spring Framework and
helps users quickly see the difference between a local and member
variable.
Issue gh-8945
6 years ago
Phillip Webb
6894ff5d12
Make classes final where possible
...
Update classes that have private constructors so that they are also
declared final. In a few cases, inner-classes used private constructors
but were subclassed. These have now been changed to have package-private
constructors.
Issue gh-8945
6 years ago
Phillip Webb
37fa94fafc
Organize imports
...
Use "organize imports" from Eclipse to cleanup import statements so
that they appear in a consistent and well defined order.
Issue gh-8945
6 years ago
Phillip Webb
5f64f53c3f
Use consistent "@" tag order in Javadoc
...
Ensure that Javadoc "@" tags appear in a consistent and well defined
order.
Issue gh-8945
6 years ago
Phillip Webb
b7fc18262d
Reformat code using spring-javaformat
...
Run `./gradlew format` to reformat all java files.
Issue gh-8945
6 years ago
Phillip Webb
27ac046d8a
Rename *Test.java -> *Tests.java
...
Rename a few test classes that accidentally ended in `Test` instead of
`Tests`.
Issue gh-8945
6 years ago
Joe Grandja
1d74d556c2
Revert "Lock Dependency Versions for 5.4.0-RC1"
...
This reverts commit f3a1e5d40c .
6 years ago
Joe Grandja
f3a1e5d40c
Lock Dependency Versions for 5.4.0-RC1
6 years ago
Eleftheria Stein
d8bef76a0f
Unlock dependencies
...
This reverts commit b619d298aa .
6 years ago
Eleftheria Stein
b619d298aa
Lock Dependencies for 5.3.4.RELEASE
6 years ago
Josh Cummings
146d0b6358
Revert "Lock Dependency Versions for 5.4.0-M2"
...
This reverts commit 68538897c8 .
6 years ago
Josh Cummings
68538897c8
Lock Dependency Versions for 5.4.0-M2
6 years ago
Josh Cummings
bbd2a9ebae
Revert "Lock Dependencies for 5.3.3.RELEASE"
...
This reverts commit 116bfe01e6 .
6 years ago
Josh Cummings
116bfe01e6
Lock Dependencies for 5.3.3.RELEASE
6 years ago
Joe Grandja
86ca6b013c
Unlock dependencies
...
This reverts commit 206960cf44 .
6 years ago
Joe Grandja
206960cf44
Lock dependencies for 5.4.0-M1
6 years ago
Joe Grandja
413dfc8679
Unlock dependencies
...
This reverts commit a61145f74c .
6 years ago
Joe Grandja
a61145f74c
Lock dependencies for 5.3.2.RELEASE
6 years ago
Joe Grandja
a78872f268
Unlock dependencies for 5.3.1.RELEASE
...
This reverts commit 88c02684bb .
6 years ago
Joe Grandja
88c02684bb
Lock dependencies for 5.3.1.RELEASE
6 years ago
Josh Cummings
6eadf7b140
Unlock dependencies for 5.3.0.RELEASE
...
This reverts commit 147d7dadd7 .
6 years ago
Josh Cummings
147d7dadd7
Lock dependencies for 5.3.0.RELEASE
6 years ago
Josh Cummings
5bdf57d1e5
Remove Groovy and Spock Dependencies
...
Fixes gh-4939
6 years ago
Eleftheria Stein
84b8a5abd7
Unlock dependencies for next development version
...
This reverts commit 064616f1ef .
6 years ago
Eleftheria Stein
064616f1ef
Lock dependencies for 5.3.0.RC1
6 years ago
Eleftheria Stein
fcc6457bef
Unlock dependencies for next development version
...
This reverts commit 93acf8f0f1 .
6 years ago
Eleftheria Stein
93acf8f0f1
Lock dependencies for 5.3.0.M1
6 years ago
Rob Winch
633fad557f
Add Reactive Messaging CurrentSecurityContextPrincipalArgumentResolver
...
Fixes gh-7488
6 years ago
Rob Winch
45a1490d5d
Fix ClassCastException for JDK 9+
...
AuthenticationPrincipalArgumentResolverTests failed in JDK 9+ due to
its improved generic support and a ClassCastException.
Issue gh-7363
6 years ago
Rob Winch
b09e9f1896
Add Reactive Messaging AuthenticationPrincipalArgumentResolver
...
Fixes gh-7363
6 years ago
Lars Grefer
34dd5fea30
Remove redundant throws clauses
...
Removes exceptions that are declared in a method's signature but never thrown by the method itself or its implementations/derivatives.
7 years ago
Lars Grefer
ec6ca97226
Fix tests
7 years ago
Lars Grefer
ff1070df36
remove redundant modifiers found by checkstyle
7 years ago
Lars Grefer
eddcd1622f
Type parameter extends Object
...
Reports any type parameters and wildcard type arguments explicitly declared to extend java.lang.Object.
7 years ago
Lars Grefer
fb39d9c255
Anonymous type can be replaced with lambda
7 years ago
Lars Grefer
776a4c3760
Use org.mockito.ArgumentMatchers in favor of org.mockito.Matchers
7 years ago
Lars Grefer
3ea9d376b2
Cleanup explicit type arguments
7 years ago
Rob Winch
855d000408
Polish Path Variables in Message Expressions
...
Issue gh-4469
7 years ago
Rob Winch
fcb4def4ac
Polish Path Variables in Message Expressions
...
Issue gh-4469
7 years ago
Daniel Bustamante Ospina
f97ac4daa6
Support Path Variables in Message Expressions
...
Extract path variables expressed in SimpDestinationMessageMatcher's pattern.
Issue: gh-4469
7 years ago
Spring Operator
b93528138e
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 2691 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.html with 2 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html ) result 200).
7 years ago