Skip to content

Commit 637af39

Browse files
authored
Merge pull request #47170 from geoand/tlsconfig-name
Make TlsConfiguration#getName a default method
2 parents 2c3bf6d + e0944f8 commit 637af39

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

extensions/tls-registry/spi/src/main/java/io/quarkus/tls/TlsConfiguration.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,12 @@ static Optional<TlsConfiguration> from(TlsConfigurationRegistry registry, Option
102102

103103
/**
104104
* Returns the name which was associated with this configuration
105+
* <p>
106+
* Note: Although this was made default in order to not break deep integrations, it is strongly recommended that the method
107+
* be implemented.
105108
*/
106-
String getName();
109+
default String getName() {
110+
return "unset";
111+
}
107112

108113
}

0 commit comments

Comments
 (0)