Skip to content

Commit

Permalink
GH-1459: Fix Javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed May 18, 2022
1 parent 10f39fb commit 5bf6bc3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2021 the original author or authors.
* Copyright 2016-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -438,7 +438,7 @@ public void setRetryDeclarationInterval(long retryDeclarationInterval) {

/**
* Set to false to disable micrometer listener timers.
* @param micrometerEnabled false to disable.
* @param enabled false to disable.
* @since 2.4.6
*/
public void setMicrometerEnabled(boolean enabled) {
Expand All @@ -457,7 +457,7 @@ public void setMicrometerTags(Map<String, String> tags) {
/**
* Set a {@link ContainerCustomizer} that is invoked after a container is created and
* configured to enable further customization of the container.
* @param containerCustomizer the customizer.
* @param customizer the customizer.
* @since 2.4.6
*/
public void setSMLCCustomizer(ContainerCustomizer<SimpleMessageListenerContainer> customizer) {
Expand All @@ -467,7 +467,7 @@ public void setSMLCCustomizer(ContainerCustomizer<SimpleMessageListenerContainer
/**
* Set a {@link ContainerCustomizer} that is invoked after a container is created and
* configured to enable further customization of the container.
* @param containerCustomizer the customizer.
* @param customizer the customizer.
* @since 2.4.6
*/
public void setDMLCCustomizer(ContainerCustomizer<DirectMessageListenerContainer> customizer) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ protected MethodInvocationRecoverer<?> createRecoverer() {
return this::recover;
}

@SuppressWarnings("unchecked")
protected Object recover(Object[] args, Throwable cause) {
MessageRecoverer messageRecoverer = getMessageRecoverer();
Object arg = args[1];
Expand Down

0 comments on commit 5bf6bc3

Please sign in to comment.