Skip to content

Commit ea25734

Browse files
committed
Merge branch '3.3.x' into 3.4.x
Closes gh-44437
2 parents b4336b2 + 453002b commit ea25734

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/kafka/KafkaProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 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.
@@ -1427,7 +1427,7 @@ public Map<String, Object> buildProperties(SslBundles sslBundles) {
14271427

14281428
private Map<String, Object> buildPropertiesForSslBundle(SslBundles sslBundles, String name) {
14291429
Properties properties = new Properties();
1430-
properties.in(SslConfigs.SSL_ENGINE_FACTORY_CLASS_CONFIG).accept(SslBundleSslEngineFactory.class.getName());
1430+
properties.in(SslConfigs.SSL_ENGINE_FACTORY_CLASS_CONFIG).accept(SslBundleSslEngineFactory.class);
14311431
properties.in(SslBundle.class.getName()).accept(sslBundles.getBundle(name));
14321432
return properties;
14331433
}

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/kafka/KafkaPropertiesTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2024 the original author or authors.
2+
* Copyright 2012-2025 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.
@@ -108,7 +108,7 @@ void sslBundleConfiguration() {
108108
Map<String, Object> consumerProperties = properties
109109
.buildConsumerProperties(new DefaultSslBundleRegistry("myBundle", this.sslBundle));
110110
assertThat(consumerProperties).containsEntry(SslConfigs.SSL_ENGINE_FACTORY_CLASS_CONFIG,
111-
SslBundleSslEngineFactory.class.getName());
111+
SslBundleSslEngineFactory.class);
112112
}
113113

114114
@Test

0 commit comments

Comments
 (0)