Issue Details (XML | Word | Printable)

Key: HADOOP-3535
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Owen O'Malley
Reporter: Owen O'Malley
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

IOUtils.close needs better documentation

Created: 11/Jun/08 05:02 PM   Updated: 22/Aug/08 07:50 PM
Return to search
Component/s: io
Affects Version/s: None
Fix Version/s: 0.18.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works cleanup.patch 2008-06-11 09:58 PM Owen O'Malley 2 kB

Hadoop Flags: Reviewed
Resolution Date: 17/Jun/08 09:23 PM


 Description  « Hide
The JavaDoc for IOUtils.close is incorrect and misleading.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Owen O'Malley added a comment - 11/Jun/08 09:58 PM
This fixes the JavaDoc to make it clear that it should only be used for cleanup and renames the method.

Tsz Wo (Nicholas), SZE added a comment - 11/Jun/08 11:25 PM
<b>ignore<b> should be <b>ignore</b>

otherwise, patch looks good.


Hadoop QA added a comment - 11/Jun/08 11:30 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12383872/cleanup.patch
against trunk revision 666620.

+1 @author. The patch does not contain any @author tags.

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

+1 javadoc. The javadoc tool did not generate any warning messages.

+1 javac. The applied patch does not increase the total number of javac compiler warnings.

+1 findbugs. The patch does not introduce any new Findbugs warnings.

+1 release audit. The applied patch does not increase the total number of release audit warnings.

+1 core tests. The patch passed core unit tests.

+1 contrib tests. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2641/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2641/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2641/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2641/console

This message is automatically generated.


Mukund Madhugiri added a comment - 16/Jun/08 11:47 PM
Marking a blocker for 0.18.0

Owen O'Malley added a comment - 17/Jun/08 09:23 PM
I just committed this.

Hudson added a comment - 18/Jun/08 01:41 PM