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