Skip to content

Commit 72cab25

Browse files
Fix typos
1 parent e87be43 commit 72cab25

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

buildSrc/src/test/java/io/spring/gradle/convention/TestsConfigurationPluginITest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void setup(@TempDir Path tempDir) {
2121
}
2222

2323
@Test
24-
public void canFindDepencency() throws Exception {
24+
public void canFindDependency() throws Exception {
2525
BuildResult result = this.testKit.withProjectResource("samples/testsconfiguration")
2626
.withArguments("check")
2727
.build();

spring-session-core/src/test/java/org/springframework/session/web/http/DefaultCookieSerializerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ void writeCookieInsecureSecureRequest() {
363363
}
364364

365365
@Test
366-
void writeCookieInecureInsecureRequest() {
366+
void writeCookieInsecureInsecureRequest() {
367367
this.serializer.setUseSecureCookie(false);
368368
this.serializer.writeCookieValue(cookieValue(this.sessionId));
369369
assertThat(getCookie().getSecure()).isFalse();

spring-session-core/src/test/java/org/springframework/session/web/http/OncePerRequestFilterTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ void doFilterOnce() throws ServletException, IOException {
7777
}
7878

7979
@Test
80-
void doFilterMultiOnlyIvokesOnce() throws ServletException, IOException {
80+
void doFilterMultiOnlyInvokesOnce() throws ServletException, IOException {
8181
this.filter.doFilter(this.request, this.response, new MockFilterChain(this.servlet, this.filter));
8282

8383
assertThat(this.invocations).containsOnly(this.filter);

spring-session-core/src/test/java/org/springframework/session/web/socket/handler/WebSocketRegistryListenerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ void onApplicationEventConnectDisconnectNullSession() {
165165
}
166166

167167
@Test
168-
void onApplicationEventConnectConnectDisonnect() throws Exception {
168+
void onApplicationEventConnectConnectDisconnect() throws Exception {
169169
this.listener.onApplicationEvent(this.connect);
170170
this.listener.onApplicationEvent(this.connect2);
171171
this.listener.onApplicationEvent(this.disconnect);

spring-session-core/src/test/java/org/springframework/session/web/socket/server/SessionRepositoryMessageInterceptorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void setup() {
8282
}
8383

8484
@Test
85-
void preSendconstructorNullRepository() {
85+
void preSendConstructorNullRepository() {
8686
assertThatIllegalArgumentException().isThrownBy(() -> new SessionRepositoryMessageInterceptor<>(null))
8787
.withMessage("sessionRepository cannot be null");
8888
}

spring-session-data-mongodb/src/test/java/org/springframework/session/data/mongo/config/annotation/web/reactive/ReactiveMongoWebSessionConfigurationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ void customIndexResolverConfigurationWithDefaultMongoSessionConverter() {
202202
void customIndexResolverConfigurationWithProvidedMongoSessionConverter() {
203203

204204
this.context = new AnnotationConfigApplicationContext();
205-
this.context.register(CustomIndexResolverConfigurationWithProvidedtMongoSessionConverter.class);
205+
this.context.register(CustomIndexResolverConfigurationWithProvidedMongoSessionConverter.class);
206206
this.context.refresh();
207207

208208
ReactiveMongoSessionRepository repository = this.context.getBean(ReactiveMongoSessionRepository.class);
@@ -396,7 +396,7 @@ IndexResolver<Session> indexResolver() {
396396

397397
@Configuration(proxyBeanMethods = false)
398398
@EnableMongoWebSession
399-
static class CustomIndexResolverConfigurationWithProvidedtMongoSessionConverter {
399+
static class CustomIndexResolverConfigurationWithProvidedMongoSessionConverter {
400400

401401
@Bean
402402
ReactiveMongoOperations operations() {

spring-session-docs/modules/ROOT/pages/api.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ The second session attribute is named `attrName2`, with a value of `someAttrValu
318318

319319
The `Session` instances managed by `RedisIndexedSessionRepository` keeps track of the properties that have changed and updates only those.
320320
This means that, if an attribute is written once and read many times, we need to write that attribute only once.
321-
For example, assume the `attrName2` session attribute from the lsiting in the preceding section was updated.
321+
For example, assume the `attrName2` session attribute from the listing in the preceding section was updated.
322322
The following command would be run upon saving:
323323

324324
====
@@ -409,7 +409,7 @@ redis-cli config set notify-keyspace-events Egx
409409
====
410410

411411
If you use `@EnableRedisHttpSession(enableIndexingAndEvents = true)`, managing the `SessionMessageListener` and enabling the necessary Redis Keyspace events is done automatically.
412-
However, in a secured Redis enviornment, the config command is disabled.
412+
However, in a secured Redis environment, the config command is disabled.
413413
This means that Spring Session cannot configure Redis Keyspace events for you.
414414
To disable the automatic configuration, add `ConfigureRedisAction.NO_OP` as a bean.
415415

spring-session-docs/modules/ROOT/pages/guides/java-hazelcast.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Tommy Ludwig; Rob Winch
77
This guide describes how to use Spring Session along with Spring Security when you use Hazelcast as your data store.
88
It assumes that you have already applied Spring Security to your application.
99

10-
NOTE: You cand find the completed guide in the <<hazelcast-spring-security-sample, Hazelcast Spring Security sample application>>.
10+
NOTE: You can not find the completed guide in the <<hazelcast-spring-security-sample, Hazelcast Spring Security sample application>>.
1111

1212
[#index-link]
1313
link:../index.html[Index]

spring-session-docs/modules/ROOT/pages/guides/java-rest.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ endif::[]
6767

6868
ifeval::["{version-milestone}" == "true"]
6969
Since we are using a Milestone version, we need to add the Spring Milestone Maven Repository.
70-
You msut have the following in your pom.xml:
70+
You must have the following in your pom.xml:
7171

7272
====
7373
.pom.xml

spring-session-samples/spring-session-sample-boot-findbyusername/src/integration-test/java/sample/FindByUsernameTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ void terminateOtherSession() throws Exception {
9090
HomePage forgotToLogout = home(this.driver);
9191

9292
this.driver2 = MockMvcHtmlUnitDriverBuilder.mockMvcSetup(this.mockMvc).build();
93-
HomePage terminateFogotSession = home(this.driver2);
94-
terminateFogotSession.terminateSession(forgotToLogout.getSessionId()).assertAt();
93+
HomePage terminateForgotSession = home(this.driver2);
94+
terminateForgotSession.terminateSession(forgotToLogout.getSessionId()).assertAt();
9595

9696
LoginPage login = HomePage.go(this.driver);
9797
login.assertAt();

0 commit comments

Comments
 (0)