Skip to content

Commit

Permalink
Fix typos in Javadoc and variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocnhan-tran1996 authored Nov 8, 2024
1 parent ccca9d9 commit 0c72649
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
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

0 comments on commit 0c72649

Please sign in to comment.