Skip to content

Commit 0b05850

Browse files
authored
Add JavaDoc to the deprecated ctor
Signed-off-by: Artem Bilan <[email protected]>
1 parent b0d115e commit 0b05850

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

spring-integration-core/src/main/java/org/springframework/integration/codec/CompositeCodec.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ public CompositeCodec(Map<Class<?>, Codec> delegates, Codec defaultCodec) {
4242
this.defaultCodec = defaultCodec;
4343
this.delegates = new HashMap<Class<?>, Codec>(delegates);
4444
}
45-
45+
/**
46+
* @param defaultCodec codec for fallback
47+
* @deprecated since 6.4.6 in favor of {@link #CompositeCodec(Map, Codec)} with provided delegates.
48+
*/
4649
@Deprecated(since = "6.4.6", forRemoval = true)
4750
public CompositeCodec(Codec defaultCodec) {
4851
this.defaultCodec = defaultCodec;

0 commit comments

Comments
 (0)