Skip to content

Commit 79d7d3a

Browse files
committed
INT-3746: Fix exception message
1 parent 4258da8 commit 79d7d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-file/src/main/java/org/springframework/integration/file/remote/RemoteFileTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ else if (payload instanceof InputStream) {
500500
}
501501
else {
502502
throw new IllegalArgumentException("Unsupported payload type. The only supported payloads are " +
503-
"java.io.File, java.lang.String, and byte[]");
503+
"java.io.File, java.lang.String, byte[], and InputStream");
504504
}
505505
if (dataInputStream == null) {
506506
return null;

0 commit comments

Comments
 (0)