From 1e92366a8e057937489f14f155feccfb3f43d2dd Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Sat, 2 Nov 2024 14:57:50 +0700 Subject: [PATCH] Fix typo --- .../cloudfoundry/servlet/CloudFoundrySecurityService.java | 4 ++-- .../boot/autoconfigure/web/client/RestClientSsl.java | 4 ++-- .../springframework/boot/loader/nio/file/package-info.java | 4 ++-- .../web/embedded/tomcat/TomcatServletWebServerFactory.java | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/servlet/CloudFoundrySecurityService.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/servlet/CloudFoundrySecurityService.java index 4be807882163..9be59775512b 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/servlet/CloudFoundrySecurityService.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/servlet/CloudFoundrySecurityService.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2019 the original author or authors. + * Copyright 2012-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. @@ -97,7 +97,7 @@ private URI getPermissionsUri(String applicationId) { /** * Return all token keys known by the UAA. - * @return a list of token keys + * @return a map of token keys */ Map fetchTokenKeys() { try { diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/client/RestClientSsl.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/client/RestClientSsl.java index 9477088eba4c..e7795beb8ce7 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/client/RestClientSsl.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/client/RestClientSsl.java @@ -31,8 +31,8 @@ * Typically used as follows:
  * @Bean
  * public MyBean myBean(RestClient.Builder restClientBuilder, RestClientSsl ssl) {
- *     RestClient restClientrestClient= restClientBuilder.apply(ssl.fromBundle("mybundle")).build();
- *     return new MyBean(webClient);
+ *     RestClient restClient = restClientBuilder.apply(ssl.fromBundle("mybundle")).build();
+ *     return new MyBean(restClient);
  * }
  * 
NOTE: Apply SSL configuration will replace any previously * {@link RestClient.Builder#requestFactory configured} {@link ClientHttpRequestFactory}. diff --git a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/nio/file/package-info.java b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/nio/file/package-info.java index 6431f845345c..aab090aadee6 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/nio/file/package-info.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/nio/file/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-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. @@ -15,6 +15,6 @@ */ /** - * Non-blocking IO {@link java.nio.file.FileSystem} implementation for nested suppoprt. + * Non-blocking IO {@link java.nio.file.FileSystem} implementation for nested support. */ package org.springframework.boot.loader.nio.file; diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactory.java index 5b516ab8af53..85687f1c3f4a 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactory.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactory.java @@ -528,7 +528,7 @@ public void setBaseDirectory(File baseDirectory) { /** * Returns a mutable set of the patterns that match jars to ignore for TLD scanning. - * @return the list of jars to ignore for TLD scanning + * @return the set of jars to ignore for TLD scanning */ public Set getTldSkipPatterns() { return this.tldSkipPatterns;