Skip to content

Commit 57050fa

Browse files
committed
Fix typo
1 parent 2b1523b commit 57050fa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/reactive/AbstractWebFluxEndpointHandlerMapping.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ public Mono<ResponseEntity<Object>> handle(ServerWebExchange exchange, Map<Strin
312312
Map<String, Object> arguments = getArguments(exchange, body);
313313
OperationArgumentResolver serverNamespaceArgumentResolver = OperationArgumentResolver
314314
.of(WebServerNamespace.class, () -> WebServerNamespace
315-
.from(WebServerApplicationContext.getServerNamepace(exchange.getApplicationContext())));
315+
.from(WebServerApplicationContext.getServerNamespace(exchange.getApplicationContext())));
316316
return this.securityContextSupplier.get()
317317
.map((securityContext) -> new InvocationContext(securityContext, arguments,
318318
serverNamespaceArgumentResolver,

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/servlet/AbstractWebMvcEndpointHandlerMapping.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public Object handle(HttpServletRequest request, @RequestBody(required = false)
303303
WebApplicationContext applicationContext = WebApplicationContextUtils
304304
.getRequiredWebApplicationContext(request.getServletContext());
305305
return WebServerNamespace
306-
.from(WebServerApplicationContext.getServerNamepace(applicationContext));
306+
.from(WebServerApplicationContext.getServerNamespace(applicationContext));
307307
});
308308
InvocationContext invocationContext = new InvocationContext(securityContext, arguments,
309309
serverNamespaceArgumentResolver, producibleOperationArgumentResolver);

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/context/WebServerApplicationContext.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static boolean hasServerNamespace(ApplicationContext context, String serverNames
6666
* {@link WebServerApplicationContext}
6767
* @since 2.6.0
6868
*/
69-
static String getServerNamepace(ApplicationContext context) {
69+
static String getServerNamespace(ApplicationContext context) {
7070
return (context instanceof WebServerApplicationContext)
7171
? ((WebServerApplicationContext) context).getServerNamespace() : null;
7272

0 commit comments

Comments
 (0)