Skip to content

Commit 50e1232

Browse files
committed
[squid:S1118] Utility classes should not have public constructors
1 parent a1c4b1b commit 50e1232

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/main/java/com/yahoo/ycb/LoadUtils.java

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
class LoadUtils {
1717

18+
private LoadUtils() {
19+
}
20+
1821
protected static List<Dimension> parseDimensions(JsonNode node) throws IOException {
1922
if (!node.isArray()) {
2023
throw new IOException("Expecting array.");

src/test/java/com/yahoo/ycb/TestUtils.java

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
import java.net.URL;
1010

1111
public class TestUtils {
12+
private TestUtils() {
13+
}
14+
1215
public static Loader getLoader(String name) {
1316
final URL url = Thread.currentThread().getContextClassLoader().getResource(name);
1417
assert url != null;

0 commit comments

Comments
 (0)