Skip to content

Commit 0ce6216

Browse files
xak2000artembilan
authored andcommitted
Fix typo in exception message
1 parent c9e5f99 commit 0ce6216

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/FileReadingMessageSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public String getComponentType() {
297297
public void start() {
298298
if (!this.running.getAndSet(true)) {
299299
if (!this.directory.exists() && this.autoCreateDirectory && !this.directory.mkdirs()) {
300-
throw new IllegalStateException("Cannot create directory or ita parents: " + this.directory);
300+
throw new IllegalStateException("Cannot create directory or its parents: " + this.directory);
301301
}
302302
Assert.isTrue(this.directory.exists(),
303303
() -> "Source directory [" + this.directory + "] does not exist.");

0 commit comments

Comments
 (0)