Announcement Announcement Module
Collapse
No announcement yet.
Mistake in documentation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mistake in documentation

    I think I spotted a mistake in Spring's documentation. Is there a formalized way of reporting document errors, e.g. via JIRA?

    The mistake is located in "13.4.3 Batch operations with multiple batches" - http://static.springsource.org/sprin...bc-batch-multi

    The given example currently reads
    Code:
    ...
     int[][] updateCounts = jdbcTemplate.batchUpdate(
                    "update t_actor set first_name = ?, last_name = ? where id = ?",
                    actors,
                    100,
                    new ParameterizedPreparedStatementSetter<Actor>() {
    ...
    but probably should read
    Code:
    ...
     int[][] updateCounts = jdbcTemplate.batchUpdate(
                    "update t_actor set first_name = ?, last_name = ? where id = ?",
                    batch,
                    100,
                    new ParameterizedPreparedStatementSetter<Actor>() {
    ...
    Notice "actors" vs. "batch". Compare to the method's Javadoc at http://static.springsource.org/sprin...atementSetter)

    In case there currently is no way of reporting document errors, what about establishing such a thing?

  • #2
    In case there currently is no way of reporting document errors, what about establishing such a thing?
    There already is, it is called JIRA... Please create a JIRA issue so that it can be picked up...

    Actually the documentation is correct only the for loop is pretty much useless...

    Comment


    • #3
      In the meantime, I found some more documentation mistakes. Could someone clarify to which Jira project one should post "bugs" to?

      Comment


      • #4
        The project the documentation belongs to... So in this case that (judging by your first post) would be Spring Framework.

        Comment

        Working...
        X