Skip to main content

[jsr-352-issues] [Bug 5431] New: ItemProcessListener#onProcessError has javadoc from ItemProcessListener#afterProcess

  • From: bugzilla-daemon@...
  • To: issues@...
  • Subject: [jsr-352-issues] [Bug 5431] New: ItemProcessListener#onProcessError has javadoc from ItemProcessListener#afterProcess
  • Date: Wed, 02 Oct 2013 14:35:10 +0000
  • Auto-submitted: auto-generated

https://java.net/bugzilla/show_bug.cgi?id=5431

            Bug ID: 5431
           Summary: ItemProcessListener#onProcessError has javadoc from
                    ItemProcessListener#afterProcess
           Product: jbatch
           Version: 1
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: RI
          Assignee: ScottKurz@...
          Reporter: BrentDouglas@...
                CC: issues@...

Except from artifact resolved from maven central with descriptor:

<pre>
            <dependency>
                <groupId>javax.batch</groupId>
                <artifactId>javax.batch-api</artifactId>
                <version>1.0</version>
            </dependency>
</pre>

 which I understand to be the RI of this spec.

<pre>
    /**
     * The afterProcess method receives control after an item 
     * processor processes an item.  The method receives the item processed 
     * and the result item as an input.
     * @param item specifies the item about to be processed.
     * @param result specifies the item to pass to the item writer. 
     * @throws Exception if an error occurs.
     */
    public void afterProcess(Object item, Object result) throws Exception;
    /**
     * The afterProcess method receives control after an item 
     * processor processes an item.  The method receives the item processed 
     * and the result item as an input.
     * @param item specifies the item about to be processed.
     * @param ex specifies the exception thrown by the item processor.
     * @throws Exception
     */
    public void onProcessError(Object item, Exception ex) throws Exception;
</pre>

The issue being that the javadoc from #onProcessError should describe
#onProcessError rather than #afterProcess.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[jsr-352-issues] [Bug 5431] New: ItemProcessListener#onProcessError has javadoc from ItemProcessListener#afterProcess

bugzilla-daemon 10/02/2013

[jsr-352-issues] [Bug 5431] ItemProcessListener#onProcessError has javadoc from ItemProcessListener#afterProcess

bugzilla-daemon 10/25/2013

[jsr-352-issues] [Bug 5431] ItemProcessListener#onProcessError has javadoc from ItemProcessListener#afterProcess

bugzilla-daemon 10/25/2013
 
 
Close
loading
Please Confirm
Close