From 76a3ee03886d5856e2024eac21222e4da97305f7 Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Sun, 10 Aug 2025 18:02:30 +0700 Subject: [PATCH] Fix typos Signed-off-by: Tran Ngoc Nhan --- .../springframework/graphql/execution/BatchLoaderRegistry.java | 2 +- .../graphql/server/webmvc/GraphQlRequestPredicatesTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-graphql/src/main/java/org/springframework/graphql/execution/BatchLoaderRegistry.java b/spring-graphql/src/main/java/org/springframework/graphql/execution/BatchLoaderRegistry.java index d783ffa2..0e73daab 100644 --- a/spring-graphql/src/main/java/org/springframework/graphql/execution/BatchLoaderRegistry.java +++ b/spring-graphql/src/main/java/org/springframework/graphql/execution/BatchLoaderRegistry.java @@ -53,7 +53,7 @@ public interface BatchLoaderRegistry extends DataLoaderRegistrar { *

When this method is used, the name for the * {@link org.dataloader.DataLoader} is automatically set as defined in * {@link RegistrationSpec#withName(String)}, and likewise, - * {@code @SchemaMapping} handler methods can transparenly locate and + * {@code @SchemaMapping} handler methods can transparently locate and * inject a {@code DataLoader} argument based on the generic type * {@code }. * @param keyType the type of keys that will be used as input diff --git a/spring-graphql/src/test/java/org/springframework/graphql/server/webmvc/GraphQlRequestPredicatesTests.java b/spring-graphql/src/test/java/org/springframework/graphql/server/webmvc/GraphQlRequestPredicatesTests.java index 083b6dc4..c1316afb 100644 --- a/spring-graphql/src/test/java/org/springframework/graphql/server/webmvc/GraphQlRequestPredicatesTests.java +++ b/spring-graphql/src/test/java/org/springframework/graphql/server/webmvc/GraphQlRequestPredicatesTests.java @@ -189,7 +189,7 @@ void shouldRejectRequestWithDifferentPath() { } @Test - void shouldRejectRequestWithIncmopatibleContentType() { + void shouldRejectRequestWithIncompatibleContentType() { MockHttpServletRequest request = createMatchingSseRequest(); request.setContentType("text/xml"); ServerRequest serverRequest = ServerRequest.create(request, Collections.emptyList());