Polish
- 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:
+5
-5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
+5
-5
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user