Browse Source

Use proper casing for parameter and variable names

pull/35405/head
Sam Brannen 8 months ago
parent
commit
7095f4cb66
  1. 8
      spring-core-test/src/main/java/org/springframework/core/test/tools/ResourceFiles.java
  2. 6
      spring-r2dbc/src/main/java/org/springframework/r2dbc/connection/R2dbcTransactionManager.java
  3. 6
      spring-web/src/test/java/org/springframework/web/util/pattern/PathPatternTests.java

8
spring-core-test/src/main/java/org/springframework/core/test/tools/ResourceFiles.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2025 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.
@ -81,11 +81,11 @@ public final class ResourceFiles implements Iterable<ResourceFile> { @@ -81,11 +81,11 @@ public final class ResourceFiles implements Iterable<ResourceFile> {
/**
* Return a new {@link ResourceFiles} instance that merges files from
* another {@link ResourceFiles} instance.
* @param ResourceFiles the instance to merge
* @param resourceFiles the instance to merge
* @return a new {@link ResourceFiles} instance containing merged content
*/
public ResourceFiles and(ResourceFiles ResourceFiles) {
return new ResourceFiles(this.files.and(ResourceFiles.files));
public ResourceFiles and(ResourceFiles resourceFiles) {
return new ResourceFiles(this.files.and(resourceFiles.files));
}
@Override

6
spring-r2dbc/src/main/java/org/springframework/r2dbc/connection/R2dbcTransactionManager.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2025 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.
@ -296,7 +296,7 @@ public class R2dbcTransactionManager extends AbstractReactiveTransactionManager @@ -296,7 +296,7 @@ public class R2dbcTransactionManager extends AbstractReactiveTransactionManager
}
@Override
protected Mono<Void> doCommit(TransactionSynchronizationManager TransactionSynchronizationManager,
protected Mono<Void> doCommit(TransactionSynchronizationManager synchronizationManager,
GenericReactiveTransaction status) {
ConnectionFactoryTransactionObject txObject = (ConnectionFactoryTransactionObject) status.getTransaction();
@ -308,7 +308,7 @@ public class R2dbcTransactionManager extends AbstractReactiveTransactionManager @@ -308,7 +308,7 @@ public class R2dbcTransactionManager extends AbstractReactiveTransactionManager
}
@Override
protected Mono<Void> doRollback(TransactionSynchronizationManager TransactionSynchronizationManager,
protected Mono<Void> doRollback(TransactionSynchronizationManager synchronizationManager,
GenericReactiveTransaction status) {
ConnectionFactoryTransactionObject txObject = (ConnectionFactoryTransactionObject) status.getTransaction();

6
spring-web/src/test/java/org/springframework/web/util/pattern/PathPatternTests.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2024 the original author or authors.
* Copyright 2002-2025 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.
@ -1211,8 +1211,8 @@ class PathPatternTests { @@ -1211,8 +1211,8 @@ class PathPatternTests {
private void checkNoMatch(String uriTemplate, String path) {
PathPatternParser p = new PathPatternParser();
PathPattern pattern = p.parse(uriTemplate);
PathContainer PathContainer = toPathContainer(path);
assertThat(pattern.matches(PathContainer)).isFalse();
PathContainer pathContainer = toPathContainer(path);
assertThat(pattern.matches(pathContainer)).isFalse();
}
private PathPattern.PathMatchInfo checkCapture(String uriTemplate, String path, String... keyValues) {

Loading…
Cancel
Save