Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
Fix code smells
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
  • Loading branch information
flo-dup committed Mar 1, 2022
1 parent c2e19b2 commit fe1b7ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/java/com/powsybl/nad/svg/EdgeInfoTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,17 @@ public List<EdgeInfo> 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();
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/com/powsybl/nad/svg/NetworkTestFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*/
public class NetworkTestFactory {

private NetworkTestFactory() {}

/**
* g1 dl1
* | |
Expand Down

0 comments on commit fe1b7ba

Please sign in to comment.