mirror of
https://github.com/frosch95/SmartCSV.fx.git
synced 2026-04-11 21:48:22 +02:00
removed some code smells
This commit is contained in:
@@ -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.*;
|
||||
|
||||
@@ -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\": [";
|
||||
|
||||
Reference in New Issue
Block a user