fix assert message in PatternMatchingCompositeLineMapper.java

per BATCH-2427, changed assertion message to say "The 'patternMatcher' property must be non-null"
This commit is contained in:
Rick Craver
2015-09-17 19:58:21 -07:00
committed by Michael Minella
parent f6d22f4f80
commit b7b2bb3127

View File

@@ -71,7 +71,7 @@ public class PatternMatchingCompositeLineMapper<T> implements LineMapper<T>, Ini
@Override
public void afterPropertiesSet() throws Exception {
this.tokenizer.afterPropertiesSet();
Assert.isTrue(this.patternMatcher != null, "The 'fieldSetMappers' property must be non-empty");
Assert.isTrue(this.patternMatcher != null, "The 'patternMatcher' property must be non-null");
}
public void setTokenizers(Map<String, LineTokenizer> tokenizers) {