-
May 13th, 2008, 03:54 AM
#1
I found typos in documention, as I guess.
Hello. Thank you for developing good modules.
In my view, I see three typos as following.
1. http://static.springframework.org/sp...a.html#d0e5062
A.2. Item Writers
ItemWriterItemWriter -> DelegatingItemWriter
2. http://static.springframework.org/sp...e.html#d0e1300
itemReader.setResource = new FileSystemResource("resources/players.csv");
->
itemReader.setResource(new FileSystemResource("resources/players.csv"));
3. http://static.springframework.org/sp...e.html#d0e1349
FlatFileItemReader itemReader = new FlatFileItemReader();
itemReader.setResource = new FileSystemResource("resources/players.csv");
//DelimitedLineTokenizer defaults to comma as it's delimiter
itemReader.setLineTokenizer(new DelimitedLineTokenizer());
itemReader.setFieldSetMapper(new PlayerFieldSetMapper());
itemReader.read();
I tested this code, but I got exceptions. After inserting the following codes before last line, it works successfully.
" itemReader.open(new ExecutionContext());"
Last edited by sanghyuk.jung; May 13th, 2008 at 04:08 AM.
-
May 13th, 2008, 08:30 AM
#2
Can you please create a jira issue for the errors you have found? (It will ensure they get fixed).
http://jira.springframework.org/browse/BATCH
-
May 14th, 2008, 03:39 AM
#3
I just created a jira issue. Thank you.
-
May 14th, 2008, 09:59 AM
#4
Thanks for pointing out the errors, I'll get them cleaned up as soon as possible.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules