diff --git a/src/test/java/com/powsybl/nad/svg/EdgeInfoTest.java b/src/test/java/com/powsybl/nad/svg/EdgeInfoTest.java index c9d64f7d..e17f459b 100644 --- a/src/test/java/com/powsybl/nad/svg/EdgeInfoTest.java +++ b/src/test/java/com/powsybl/nad/svg/EdgeInfoTest.java @@ -68,18 +68,17 @@ public List getEdgeInfos(Graph graph, ThreeWtEdge edge) { } @Override - public String getArrowPathDIn() { + public String getArrowPathDIn() { // larger arrow return "M-0.2 -0.1 H0.2 L0 0.1z"; } @Override - public String getArrowPathDOut() { + public String getArrowPathDOut() { // thinner arrow return "M-0.05 0.1 H0.05 L0 -0.1z"; } }; } - @Test public void testPerpendicularLabels() { Network network = NetworkTestFactory.createTwoVoltageLevels(); diff --git a/src/test/java/com/powsybl/nad/svg/NetworkTestFactory.java b/src/test/java/com/powsybl/nad/svg/NetworkTestFactory.java index b9b75fed..dc0df69a 100644 --- a/src/test/java/com/powsybl/nad/svg/NetworkTestFactory.java +++ b/src/test/java/com/powsybl/nad/svg/NetworkTestFactory.java @@ -14,7 +14,10 @@ /** * @author Florian Dupuy */ -public class NetworkTestFactory { +public final class NetworkTestFactory { + + private NetworkTestFactory() { + } /** * g1 dl1