1
0
mirror of synced 2026-08-04 09:17:02 +00:00
- Add @since version
- Change variable name to match method name

Issue gh-18623

Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
This commit is contained in:
Josh Cummings
2026-02-17 17:04:35 -07:00
parent d528be38bb
commit fc48088759
2 changed files with 10 additions and 10 deletions
@@ -362,13 +362,13 @@ public class SpringOpaqueTokenIntrospector implements OpaqueTokenIntrospector {
* Adds a {@link Consumer} to customize the {@link SpringOpaqueTokenIntrospector}
* after it is built. This allows for additional configuration that cannot be
* expressed through the builder methods.
* @param customizer the {@link Consumer} to customize the introspector
* @param postProcessor the {@link Consumer} to customize the introspector
* @return the {@link SpringOpaqueTokenIntrospector.Builder}
* @since 7.x.x
* @since 7.1.0
*/
public Builder postProcessor(Consumer<SpringOpaqueTokenIntrospector> customizer) {
Assert.notNull(customizer, "customizer cannot be null");
this.postProcessors.add(customizer);
public Builder postProcessor(Consumer<SpringOpaqueTokenIntrospector> postProcessor) {
Assert.notNull(postProcessor, "postProcessor cannot be null");
this.postProcessors.add(postProcessor);
return this;
}
@@ -316,13 +316,13 @@ public class SpringReactiveOpaqueTokenIntrospector implements ReactiveOpaqueToke
* {@link SpringReactiveOpaqueTokenIntrospector} after it is built. This allows
* for additional configuration that cannot be expressed through the builder
* methods.
* @param customizer the {@link Consumer} to customize the introspector
* @param postProcessor the {@link Consumer} to customize the introspector
* @return the {@link SpringReactiveOpaqueTokenIntrospector.Builder}
* @since 7.x.x
* @since 7.1.0
*/
public Builder postProcessor(Consumer<SpringReactiveOpaqueTokenIntrospector> customizer) {
Assert.notNull(customizer, "customizer cannot be null");
this.postProcessors.add(customizer);
public Builder postProcessor(Consumer<SpringReactiveOpaqueTokenIntrospector> postProcessor) {
Assert.notNull(postProcessor, "postProcessor cannot be null");
this.postProcessors.add(postProcessor);
return this;
}