Skip to content

Commit

Permalink
Update Processor.java
Browse files Browse the repository at this point in the history
  • Loading branch information
rac021 authored Feb 10, 2017
1 parent 7bc65d5 commit 7d4522c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/inra/yedgen/processor/Processor.java
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void accept(String line) {
if( column < 0 ) throw new IllegalArgumentException(" Column Num can't be negative ") ;

if( line.split(metaPatternManager.getCSV_SEPARATOR()).length < column + 1 )
throw new IllegalArgumentException(" Column Does't exists !! ") ;
throw new IllegalArgumentException(" Column [ " + column + " ] Does't exists ! ") ;

if( ! line.split(metaPatternManager.getCSV_SEPARATOR())[column].trim()
.replaceAll(" +", " ").equals(classe.trim())) {
Expand Down

0 comments on commit 7d4522c

Please sign in to comment.