We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2449769 commit 9da666bCopy full SHA for 9da666b
core/spring-boot/src/main/java/org/springframework/boot/ssl/pem/PemCertificateParser.java
@@ -29,6 +29,7 @@
29
30
import org.jspecify.annotations.Nullable;
31
32
+import org.springframework.lang.Contract;
33
import org.springframework.util.Assert;
34
import org.springframework.util.CollectionUtils;
35
@@ -56,6 +57,7 @@ private PemCertificateParser() {
56
57
* @param text the text to parse
58
* @return the parsed certificates
59
*/
60
+ @Contract("!null -> !null")
61
static @Nullable List<X509Certificate> parse(@Nullable String text) {
62
if (text == null) {
63
return null;
0 commit comments