mirror of https://github.com/apache/nifi.git
NIFI-613 and NIFI-379 checkstyle fix
This commit is contained in:
parent
1fb6aa49ba
commit
a49a03da43
|
@ -73,7 +73,7 @@ public class TestMergeContent {
|
||||||
bundle.assertContentEquals("Hello, World!".getBytes("UTF-8"));
|
bundle.assertContentEquals("Hello, World!".getBytes("UTF-8"));
|
||||||
bundle.assertAttributeEquals(CoreAttributes.MIME_TYPE.key(), "application/plain-text");
|
bundle.assertAttributeEquals(CoreAttributes.MIME_TYPE.key(), "application/plain-text");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSimpleBinaryConcatSingleBin() throws IOException, InterruptedException {
|
public void testSimpleBinaryConcatSingleBin() throws IOException, InterruptedException {
|
||||||
final TestRunner runner = TestRunners.newTestRunner(new MergeContent());
|
final TestRunner runner = TestRunners.newTestRunner(new MergeContent());
|
||||||
|
@ -92,7 +92,7 @@ public class TestMergeContent {
|
||||||
final MockFlowFile bundle = runner.getFlowFilesForRelationship(MergeContent.REL_MERGED).get(0);
|
final MockFlowFile bundle = runner.getFlowFilesForRelationship(MergeContent.REL_MERGED).get(0);
|
||||||
bundle.assertContentEquals("Hello, World!".getBytes("UTF-8"));
|
bundle.assertContentEquals("Hello, World!".getBytes("UTF-8"));
|
||||||
bundle.assertAttributeEquals(CoreAttributes.MIME_TYPE.key(), "application/plain-text");
|
bundle.assertAttributeEquals(CoreAttributes.MIME_TYPE.key(), "application/plain-text");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSimpleBinaryConcatWithTextDelimiters() throws IOException, InterruptedException {
|
public void testSimpleBinaryConcatWithTextDelimiters() throws IOException, InterruptedException {
|
||||||
|
|
|
@ -18,7 +18,6 @@ package org.apache.nifi.processors.standard;
|
||||||
|
|
||||||
import java.io.DataOutputStream;
|
import java.io.DataOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.StringWriter;
|
|
||||||
import java.nio.file.Files;
|
import java.nio.file.Files;
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.nio.file.Paths;
|
import java.nio.file.Paths;
|
||||||
|
|
Loading…
Reference in New Issue