@@ -37,7 +37,7 @@ protected Map<String, Object> modifyConfig(Map<String, Object> config) {
37
37
return config ;
38
38
}
39
39
40
- protected void assertProcessor (AbstractStringProcessor processor ) {}
40
+ protected void assertProcessor (AbstractStringProcessor <?> processor ) {}
41
41
42
42
public void testCreate () throws Exception {
43
43
AbstractStringProcessor .Factory factory = newFactory ();
@@ -47,7 +47,7 @@ public void testCreate() throws Exception {
47
47
Map <String , Object > config = new HashMap <>();
48
48
config .put ("field" , fieldName );
49
49
50
- AbstractStringProcessor processor = factory .create (null , processorTag , modifyConfig (config ));
50
+ AbstractStringProcessor <?> processor = factory .create (null , processorTag , modifyConfig (config ));
51
51
assertThat (processor .getTag (), equalTo (processorTag ));
52
52
assertThat (processor .getField (), equalTo (fieldName ));
53
53
assertThat (processor .isIgnoreMissing (), is (false ));
@@ -64,7 +64,7 @@ public void testCreateWithIgnoreMissing() throws Exception {
64
64
config .put ("field" , fieldName );
65
65
config .put ("ignore_missing" , true );
66
66
67
- AbstractStringProcessor processor = factory .create (null , processorTag , modifyConfig (config ));
67
+ AbstractStringProcessor <?> processor = factory .create (null , processorTag , modifyConfig (config ));
68
68
assertThat (processor .getTag (), equalTo (processorTag ));
69
69
assertThat (processor .getField (), equalTo (fieldName ));
70
70
assertThat (processor .isIgnoreMissing (), is (true ));
@@ -82,7 +82,7 @@ public void testCreateWithTargetField() throws Exception {
82
82
config .put ("field" , fieldName );
83
83
config .put ("target_field" , targetFieldName );
84
84
85
- AbstractStringProcessor processor = factory .create (null , processorTag , modifyConfig (config ));
85
+ AbstractStringProcessor <?> processor = factory .create (null , processorTag , modifyConfig (config ));
86
86
assertThat (processor .getTag (), equalTo (processorTag ));
87
87
assertThat (processor .getField (), equalTo (fieldName ));
88
88
assertThat (processor .isIgnoreMissing (), is (false ));
0 commit comments