Skip to content

Commit 7095f4c

Browse files
committed
Use proper casing for parameter and variable names
1 parent a22d204 commit 7095f4c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Diff for: spring-core-test/src/main/java/org/springframework/core/test/tools/ResourceFiles.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -81,11 +81,11 @@ public ResourceFiles and(Iterable<ResourceFile> resourceFiles) {
8181
/**
8282
* Return a new {@link ResourceFiles} instance that merges files from
8383
* another {@link ResourceFiles} instance.
84-
* @param ResourceFiles the instance to merge
84+
* @param resourceFiles the instance to merge
8585
* @return a new {@link ResourceFiles} instance containing merged content
8686
*/
87-
public ResourceFiles and(ResourceFiles ResourceFiles) {
88-
return new ResourceFiles(this.files.and(ResourceFiles.files));
87+
public ResourceFiles and(ResourceFiles resourceFiles) {
88+
return new ResourceFiles(this.files.and(resourceFiles.files));
8989
}
9090

9191
@Override

Diff for: spring-r2dbc/src/main/java/org/springframework/r2dbc/connection/R2dbcTransactionManager.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -296,7 +296,7 @@ protected Mono<Void> doResume(TransactionSynchronizationManager synchronizationM
296296
}
297297

298298
@Override
299-
protected Mono<Void> doCommit(TransactionSynchronizationManager TransactionSynchronizationManager,
299+
protected Mono<Void> doCommit(TransactionSynchronizationManager synchronizationManager,
300300
GenericReactiveTransaction status) {
301301

302302
ConnectionFactoryTransactionObject txObject = (ConnectionFactoryTransactionObject) status.getTransaction();
@@ -308,7 +308,7 @@ protected Mono<Void> doCommit(TransactionSynchronizationManager TransactionSynch
308308
}
309309

310310
@Override
311-
protected Mono<Void> doRollback(TransactionSynchronizationManager TransactionSynchronizationManager,
311+
protected Mono<Void> doRollback(TransactionSynchronizationManager synchronizationManager,
312312
GenericReactiveTransaction status) {
313313

314314
ConnectionFactoryTransactionObject txObject = (ConnectionFactoryTransactionObject) status.getTransaction();

Diff for: spring-web/src/test/java/org/springframework/web/util/pattern/PathPatternTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -1211,8 +1211,8 @@ private void checkMatches(String uriTemplate, String path) {
12111211
private void checkNoMatch(String uriTemplate, String path) {
12121212
PathPatternParser p = new PathPatternParser();
12131213
PathPattern pattern = p.parse(uriTemplate);
1214-
PathContainer PathContainer = toPathContainer(path);
1215-
assertThat(pattern.matches(PathContainer)).isFalse();
1214+
PathContainer pathContainer = toPathContainer(path);
1215+
assertThat(pattern.matches(pathContainer)).isFalse();
12161216
}
12171217

12181218
private PathPattern.PathMatchInfo checkCapture(String uriTemplate, String path, String... keyValues) {

0 commit comments

Comments
 (0)