From 092e92143380a17cc444440a9cb33f93dfd49896 Mon Sep 17 00:00:00 2001 From: Piyal Ahmed Date: Sun, 19 May 2024 17:29:38 +0600 Subject: [PATCH 1/2] Fix typo in CertificateMatchingTestSource class See gh-40822 --- .../boot/autoconfigure/ssl/CertificateMatchingTestSource.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/CertificateMatchingTestSource.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/CertificateMatchingTestSource.java index e04f5651fa..dd7fb741ab 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/CertificateMatchingTestSource.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/CertificateMatchingTestSource.java @@ -82,10 +82,10 @@ record CertificateMatchingTestSource(CertificateMatchingTestSource.Algorithm alg keyPairs.put(algorithm, algorithm.generateKeyPair()); } List parameters = new ArrayList<>(); - keyPairs.forEach((algorith, matchingKeyPair) -> { + keyPairs.forEach((algorithm, matchingKeyPair) -> { List nonMatchingKeyPairs = new ArrayList<>(keyPairs.values()); nonMatchingKeyPairs.remove(matchingKeyPair); - parameters.add(new CertificateMatchingTestSource(algorith, matchingKeyPair, nonMatchingKeyPairs)); + parameters.add(new CertificateMatchingTestSource(algorithm, matchingKeyPair, nonMatchingKeyPairs)); }); return List.copyOf(parameters); } From 75976713fe8a6a3866fc766bcfc564a524facb37 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 20 May 2024 10:14:45 +0100 Subject: [PATCH 2/2] Polish "Fix typo in CertificateMatchingTestSource class" See gh-40822 --- .../boot/autoconfigure/ssl/CertificateMatchingTestSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/CertificateMatchingTestSource.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/CertificateMatchingTestSource.java index dd7fb741ab..8c12302d15 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/CertificateMatchingTestSource.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/ssl/CertificateMatchingTestSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-2024 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.