MAPREDUCE-3448. TestCombineOutputCollector javac unchecked warning on mocked generics (Jonathan Eagles via mahadev) - Merging r1208136 from trunk.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1208137 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
de8f0efe60
commit
f9e7cc28df
|
@ -66,6 +66,9 @@ Release 0.23.1 - Unreleased
|
||||||
MAPREDUCE-3045. Fixed UI filters to not filter on hidden title-numeric
|
MAPREDUCE-3045. Fixed UI filters to not filter on hidden title-numeric
|
||||||
sort fields. (Jonathan Eagles via sseth)
|
sort fields. (Jonathan Eagles via sseth)
|
||||||
|
|
||||||
|
MAPREDUCE-3448. TestCombineOutputCollector javac unchecked warning on mocked
|
||||||
|
generics (Jonathan Eagles via mahadev)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -102,6 +102,8 @@ public class TestCombineOutputCollector {
|
||||||
public void testCustomCollect() throws Throwable {
|
public void testCustomCollect() throws Throwable {
|
||||||
//mock creation
|
//mock creation
|
||||||
TaskReporter mockTaskReporter = mock(TaskReporter.class);
|
TaskReporter mockTaskReporter = mock(TaskReporter.class);
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
Writer<String, Integer> mockWriter = mock(Writer.class);
|
Writer<String, Integer> mockWriter = mock(Writer.class);
|
||||||
|
|
||||||
Configuration conf = new Configuration();
|
Configuration conf = new Configuration();
|
||||||
|
@ -122,6 +124,8 @@ public class TestCombineOutputCollector {
|
||||||
public void testDefaultCollect() throws Throwable {
|
public void testDefaultCollect() throws Throwable {
|
||||||
//mock creation
|
//mock creation
|
||||||
TaskReporter mockTaskReporter = mock(TaskReporter.class);
|
TaskReporter mockTaskReporter = mock(TaskReporter.class);
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
Writer<String, Integer> mockWriter = mock(Writer.class);
|
Writer<String, Integer> mockWriter = mock(Writer.class);
|
||||||
|
|
||||||
Configuration conf = new Configuration();
|
Configuration conf = new Configuration();
|
||||||
|
|
Loading…
Reference in New Issue