Skip to content

Commit

Permalink
Fix code smells
Browse files Browse the repository at this point in the history
Signed-off-by: lisrte <[email protected]>
  • Loading branch information
Lisrte committed Nov 3, 2023
1 parent 06812f5 commit 1d5f29f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
public interface EquipmentBlackBoxModel extends BlackBoxModel {
String getStaticId();

Identifiable<?> getEquipment();
Identifiable<? extends Identifiable<?>> getEquipment();
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ protected final VarConnection getSimpleVarConnectionWithBus(EquipmentConnectionP
return new VarConnection(TERMINAL_PREFIX + side.getSideNumber(), connected.getTerminalVarName(side));
}

public List<HvdcConverterStation<?>> getConnectedStations() {
public List<HvdcConverterStation<? extends HvdcConverterStation<?>>> getConnectedStations() {
return List.of(equipment.getConverterStation1(), equipment.getConverterStation2());
}
}

0 comments on commit 1d5f29f

Please sign in to comment.