File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
spring-kafka/src/main/java/org/springframework/kafka Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2018-2023 the original author or authors.
2+ * Copyright 2018-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.
1414 * limitations under the License.
1515 */
1616
17- /**
18- * das
19- */
2017package org .springframework .kafka .annotation ;
2118
2219
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2018-2024 the original author or authors.
2+ * Copyright 2018-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.
@@ -42,7 +42,7 @@ public String maybeAddTo(String source) {
4242 if (!StringUtils .hasText (this .suffix )) {
4343 return source ;
4444 }
45- return source != null && StringUtils .hasText (source ) // Only suffix if there's text
45+ return StringUtils .hasText (source ) // Only suffix if there's text
4646 ? source .concat (this .suffix )
4747 : source ;
4848 }
You can’t perform that action at this time.
0 commit comments