Skip to content

Commit 092e921

Browse files
PiyalAhmedwilkinsona
authored andcommitted
Fix typo in CertificateMatchingTestSource class
See gh-40822
1 parent 967b992 commit 092e921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/CertificateMatchingTestSource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ static List<CertificateMatchingTestSource> create()
8282
keyPairs.put(algorithm, algorithm.generateKeyPair());
8383
}
8484
List<CertificateMatchingTestSource> parameters = new ArrayList<>();
85-
keyPairs.forEach((algorith, matchingKeyPair) -> {
85+
keyPairs.forEach((algorithm, matchingKeyPair) -> {
8686
List<KeyPair> nonMatchingKeyPairs = new ArrayList<>(keyPairs.values());
8787
nonMatchingKeyPairs.remove(matchingKeyPair);
88-
parameters.add(new CertificateMatchingTestSource(algorith, matchingKeyPair, nonMatchingKeyPairs));
88+
parameters.add(new CertificateMatchingTestSource(algorithm, matchingKeyPair, nonMatchingKeyPairs));
8989
});
9090
return List.copyOf(parameters);
9191
}

0 commit comments

Comments
 (0)