removed some code smells

This commit is contained in:
2019-10-23 02:04:57 +02:00
parent 03dcf20229
commit d7c821d1fe
8 changed files with 8 additions and 11 deletions

View File

@@ -28,7 +28,6 @@ package ninja.javafx.smartcsv.preferences;
import org.junit.jupiter.api.Test;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import static org.junit.jupiter.api.Assertions.*;

View File

@@ -39,7 +39,6 @@ import java.util.List;
import static java.util.Arrays.asList;
import static java.util.Collections.singletonList;
import static java.util.stream.Collectors.joining;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
@@ -115,6 +114,7 @@ public class HeaderValidationTest {
});
}
@SuppressWarnings("StringConcatenationInLoop")
public static String json(String... headerNames) {
String json = "{ \"fields\": [";