Issue Details (XML | Word | Printable)

Key: HADOOP-3377
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Brice Arnould
Reporter: Brice Arnould
Votes: 0
Watchers: 1
Operations

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

Use StringUtils#replaceAll instead of

Created: 13/May/08 08:14 AM   Updated: 08/Jul/09 04:52 PM
Component/s: None
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 make_TaskRunner_use_stringReplace.patch 2008-05-13 08:16 AM Brice Arnould 2 kB

Hadoop Flags: Reviewed
Resolution Date: 16/May/08 12:15 AM


 Description  « Hide
A minor cleanup.
In the TaskRunner, we can read : "When hadoop moves to JDK1.5, replace [TaskRunner.replaceAll] with String#replace"
This patch do so, removing ~30 lines.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Hadoop QA added a comment - 13/May/08 10:00 AM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12381934/make_TaskRunner_use_stringReplace.patch
against trunk revision 655674.

+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 failed core unit tests.

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

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

This message is automatically generated.


Chris Douglas added a comment - 16/May/08 12:15 AM
I just committed this. Thanks, Brice

Hudson added a comment - 16/May/08 12:52 PM