Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polish #2892

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Polish #2892

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017-2019 the original author or authors.
* Copyright 2017-2024 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 @@ -40,7 +40,7 @@
public @interface LongRunning {

/**
* The name of the variable/property used to determine whether long runnning tests
* The name of the variable/property used to determine whether long running tests
* should run.
* @return the name of the variable/property.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014-2023 the original author or authors.
* Copyright 2014-2024 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 @@ -344,7 +344,7 @@ public void setObservationConvention(RabbitListenerObservationConvention observa
/**
* Set to true to stop the container after the current message(s) are processed and
* requeue any prefetched. Useful when using exclusive or single-active consumers.
* @param forceStop true to stop when current messsage(s) are processed.
* @param forceStop true to stop when current message(s) are processed.
* @since 2.4.15
*/
public void setForceStop(boolean forceStop) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static boolean addConstructorArgValueIfAttributeDefined(BeanDefinitionBui
* @param builder the bean definition builder to be configured
* @param element the XML element where the attribute should be defined
* @param attributeName the name of the attribute whose value will be used as a constructor argument
* @param defaultValue the default value to use if the attirbute is not set
* @param defaultValue the default value to use if the attribute is not set
*/
public static void addConstructorArgBooleanValueIfAttributeDefined(BeanDefinitionBuilder builder, Element element,
String attributeName, boolean defaultValue) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public class StatefulRetryOperationsInterceptorFactoryBean extends AbstractRetry

private NewMessageIdentifier newMessageIdentifier;

public void setMessageKeyGenerator(MessageKeyGenerator messageKeyGeneretor) {
this.messageKeyGenerator = messageKeyGeneretor;
public void setMessageKeyGenerator(MessageKeyGenerator messageKeyGenerator) {
this.messageKeyGenerator = messageKeyGenerator;
}

public void setNewMessageIdentifier(NewMessageIdentifier newMessageIdentifier) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import com.rabbitmq.client.ShutdownSignalException;

/**
* A composite listener that invokes its delegages in turn.
* A composite listener that invokes its delegates in turn.
*
* @author Dave Syer
* @author Gary Russell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
* optionally enabling SSL, with or without certificate validation. When
* {@link #setSslPropertiesLocation(Resource) sslPropertiesLocation} is not null, the
* default implementation loads a {@code PKCS12} keystore and a {@code JKS} truststore
* using the supplied properties and intializes key and trust manager factories, using
* using the supplied properties and initializes key and trust manager factories, using
* algorithm {@code SunX509} by default. These are then used to initialize an
* {@link SSLContext} using the {@link #setSslAlgorithm(String) sslAlgorithm} (default
* TLSv1.2, falling back to TLSv1.1, if 1.2 is not available).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
*
* This next example illustrates a <code>Message</code> delegate that just consumes the <code>String</code> contents of
* {@link Message Messages}. Notice also how the name of the <code>Message</code> handling method is different from the
* {@link #ORIGINAL_DEFAULT_LISTENER_METHOD original} (this will have to be configured in the attandant bean
* {@link #ORIGINAL_DEFAULT_LISTENER_METHOD original} (this will have to be configured in the attendant bean
* definition). Again, no <code>Message</code> will be sent back as the method returns <code>void</code>.
*
* <pre class="code">
Expand Down