Fix typo in exception message
This commit is contained in:
committed by
Artem Bilan
parent
c9e5f99de5
commit
0ce6216e49
@@ -297,7 +297,7 @@ public class FileReadingMessageSource extends AbstractMessageSource<File>
|
||||
public void start() {
|
||||
if (!this.running.getAndSet(true)) {
|
||||
if (!this.directory.exists() && this.autoCreateDirectory && !this.directory.mkdirs()) {
|
||||
throw new IllegalStateException("Cannot create directory or ita parents: " + this.directory);
|
||||
throw new IllegalStateException("Cannot create directory or its parents: " + this.directory);
|
||||
}
|
||||
Assert.isTrue(this.directory.exists(),
|
||||
() -> "Source directory [" + this.directory + "] does not exist.");
|
||||
|
||||
Reference in New Issue
Block a user