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..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. @@ -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); }