Clean up Javadoc and source code regarding " ." typos

This commit is contained in:
Sam Brannen 2022-12-12 15:42:27 +01:00
parent f8a1dac593
commit 46fc28fd1a
16 changed files with 32 additions and 31 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2019 the original author or authors. * Copyright 2002-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/** /**
* Integration tests for scoped proxy use in conjunction with aop: namespace. * Integration tests for scoped proxy use in conjunction with aop: namespace.
* Deemed an integration test because .web mocks and application contexts are required. * Deemed an integration test because web mocks and application contexts are required.
* *
* @author Rob Harrop * @author Rob Harrop
* @author Juergen Hoeller * @author Juergen Hoeller

View File

@ -61,7 +61,7 @@ class EnableCachingIntegrationTests {
ctx.register(Config.class, AspectJCacheConfig.class); ctx.register(Config.class, AspectJCacheConfig.class);
// this test is a bit fragile, but gets the job done, proving that an // this test is a bit fragile, but gets the job done, proving that an
// attempt was made to look up the AJ aspect. It's due to classpath issues // attempt was made to look up the AJ aspect. It's due to classpath issues
// in .integration-tests that it's not found. // in integration-tests that it's not found.
assertThatException().isThrownBy(ctx::refresh) assertThatException().isThrownBy(ctx::refresh)
.withMessageContaining("AspectJCachingConfiguration"); .withMessageContaining("AspectJCachingConfiguration");
} }

View File

@ -97,7 +97,7 @@ class EnableTransactionManagementIntegrationTests {
ctx.register(Config.class, AspectJTxConfig.class); ctx.register(Config.class, AspectJTxConfig.class);
// this test is a bit fragile, but gets the job done, proving that an // this test is a bit fragile, but gets the job done, proving that an
// attempt was made to look up the AJ aspect. It's due to classpath issues // attempt was made to look up the AJ aspect. It's due to classpath issues
// in .integration-tests that it's not found. // in integration-tests that it's not found.
assertThatException() assertThatException()
.isThrownBy(ctx::refresh) .isThrownBy(ctx::refresh)
.withMessageContaining("AspectJJtaTransactionManagementConfiguration"); .withMessageContaining("AspectJJtaTransactionManagementConfiguration");

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2020 the original author or authors. * Copyright 2002-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2021 the original author or authors. * Copyright 2002-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -30,7 +30,8 @@ import org.springframework.lang.Nullable;
/** /**
* Interface specifying a basic set of RESTful operations. * Interface specifying a basic set of RESTful operations.
* Implemented by {@link RestTemplate}. Not often used directly, but a useful *
* <p>Implemented by {@link RestTemplate}. Not often used directly, but a useful
* option to enhance testability, as it can easily be mocked or stubbed. * option to enhance testability, as it can easily be mocked or stubbed.
* *
* @author Arjen Poutsma * @author Arjen Poutsma
@ -78,7 +79,7 @@ public interface RestOperations {
/** /**
* Retrieve an entity by doing a GET on the specified URL. * Retrieve an entity by doing a GET on the specified URL.
* The response is converted and stored in an {@link ResponseEntity}. * The response is converted and stored in a {@link ResponseEntity}.
* <p>URI Template variables are expanded using the given URI variables, if any. * <p>URI Template variables are expanded using the given URI variables, if any.
* @param url the URL * @param url the URL
* @param responseType the type of the return value * @param responseType the type of the return value
@ -91,7 +92,7 @@ public interface RestOperations {
/** /**
* Retrieve a representation by doing a GET on the URI template. * Retrieve a representation by doing a GET on the URI template.
* The response is converted and stored in an {@link ResponseEntity}. * The response is converted and stored in a {@link ResponseEntity}.
* <p>URI Template variables are expanded using the given map. * <p>URI Template variables are expanded using the given map.
* @param url the URL * @param url the URL
* @param responseType the type of the return value * @param responseType the type of the return value
@ -104,7 +105,7 @@ public interface RestOperations {
/** /**
* Retrieve a representation by doing a GET on the URL. * Retrieve a representation by doing a GET on the URL.
* The response is converted and stored in an {@link ResponseEntity}. * The response is converted and stored in a {@link ResponseEntity}.
* @param url the URL * @param url the URL
* @param responseType the type of the return value * @param responseType the type of the return value
* @return the converted object * @return the converted object

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2017 the original author or authors. * Copyright 2002-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2017 the original author or authors. * Copyright 2002-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -45,7 +45,7 @@ public interface WebSessionStore {
* and if it has expired remove the session and return empty. This method * and if it has expired remove the session and return empty. This method
* should also update the lastAccessTime of retrieved sessions. * should also update the lastAccessTime of retrieved sessions.
* @param sessionId the session to load * @param sessionId the session to load
* @return the session, or an empty {@code Mono} . * @return the session, or an empty {@code Mono}
*/ */
Mono<WebSession> retrieveSession(String sessionId); Mono<WebSession> retrieveSession(String sessionId);

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2021 the original author or authors. * Copyright 2002-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -35,7 +35,7 @@ public interface WebSocketHandlerDecoratorFactory {
* Decorate the given WebSocketHandler. * Decorate the given WebSocketHandler.
* @param handler the handler to be decorated. * @param handler the handler to be decorated.
* @return the same handler or the handler wrapped with a subclass of * @return the same handler or the handler wrapped with a subclass of
* {@code WebSocketHandlerDecorator}. * {@code WebSocketHandlerDecorator}
*/ */
WebSocketHandler decorate(WebSocketHandler handler); WebSocketHandler decorate(WebSocketHandler handler);