Skip to content

Commit 375be93

Browse files
committed
Merge pull request #40822 from PiyalAhmed
* gh-40822: Polish "Fix typo in CertificateMatchingTestSource class" Fix typo in CertificateMatchingTestSource class Closes gh-40822
2 parents 967b992 + 7597671 commit 375be93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 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.
@@ -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)