mirror of https://github.com/apache/nifi.git
NIFI-9341 Corrected annotation syntax problem
Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
49978cdd91
commit
43a24743cc
|
@ -281,7 +281,6 @@ public class TestCEFReader {
|
|||
Assertions.assertEquals(value, processor.getRecords().get(number).getValue(name));
|
||||
}
|
||||
|
||||
@SafeVarargs
|
||||
private void assertFieldsAre(final Map<String, Object>... fieldGroups) {
|
||||
final Map<String, Object> expectedFields = new HashMap<>();
|
||||
Arrays.stream(fieldGroups).forEach(fieldGroup -> expectedFields.putAll(fieldGroup));
|
||||
|
|
|
@ -445,7 +445,6 @@ public class TestCEFRecordReader {
|
|||
this.results = results;
|
||||
}
|
||||
|
||||
@SafeVarargs
|
||||
private void assertFieldsAre(final Map<String, Object>... fieldGroups) {
|
||||
final Map<String, Object> expectedFields = new HashMap<>();
|
||||
Arrays.stream(fieldGroups).forEach(fieldGroup -> expectedFields.putAll(fieldGroup));
|
||||
|
|
|
@ -272,7 +272,6 @@ public class TestCEFSchemaInference {
|
|||
result = testSubject.inferSchema(recordSource);
|
||||
}
|
||||
|
||||
@SafeVarargs
|
||||
private void assertSchemaConsistsOf(final List<RecordField>... expectedFieldGroups) {
|
||||
final List<RecordField> expectedFields = Arrays.stream(expectedFieldGroups).flatMap(group -> group.stream()).collect(Collectors.toList());
|
||||
Assertions.assertEquals(expectedFields.size(), result.getFieldCount());
|
||||
|
|
Loading…
Reference in New Issue