Skip to content

Commit

Permalink
clean import
Browse files Browse the repository at this point in the history
Signed-off-by: jamal-khey <myjamal89@gmail.com>
  • Loading branch information
jamal-khey committed Sep 10, 2024
1 parent c9248bb commit a80311a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;

import static com.powsybl.sld.svg.styles.StyleClassConstants.WIRE_STYLE_CLASS;

/**
* @author Geoffroy Jamgotchian {@literal <geoffroy.jamgotchian at rte-france.com>}
* @author Franck Lecuyer {@literal <franck.lecuyer at rte-france.com>}
Expand All @@ -48,7 +46,7 @@ public List<String> getEdgeStyles(Graph graph, Edge edge) {
.filter(Optional::isPresent)
.map(Optional::get)
.collect(Collectors.toList());
list.add(0, WIRE_STYLE_CLASS);
list.add(0, StyleClassConstants.WIRE_STYLE_CLASS);
if (edge.isOverloaded()) {
list.add(StyleClassConstants.OVERLOAD_STYLE_CLASS);
}
Expand Down

0 comments on commit a80311a

Please sign in to comment.