Results 1 to 4 of 4

Thread: I found typos in documention, as I guess.

  1. #1
    Join Date
    May 2008
    Location
    Seoul, South Korea
    Posts
    13

    Default 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.

  2. #2

    Default

    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

  3. #3
    Join Date
    May 2008
    Location
    Seoul, South Korea
    Posts
    13

    Default

    I just created a jira issue. Thank you.

  4. #4
    Join Date
    Dec 2006
    Posts
    1,061

    Default

    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
  •