Skip to content

Commit e0944f8

Browse files
geoandppalaga
andcommitted
Make TlsConfiguration#getName a default method
This was done in order to unbreak integrations in 3.20 LTS Co-authored-by: Peter Palaga <[email protected]>
1 parent 3040546 commit e0944f8

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

Lines changed: 6 additions & 1 deletion
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)