Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Romain Courtier <[email protected]>
  • Loading branch information
rcourtier committed Mar 5, 2025
1 parent 39ae803 commit c72e70d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -674,11 +674,7 @@ public BaseVoltageMapping.BaseVoltageSource getBaseVoltageByNominalVoltage(doubl
}

public boolean writeConnectivityNodes() {
if (getCimVersion() == 100) {
return true;
} else {
return topologyKind == CgmesTopologyKind.NODE_BREAKER;
}
return getCimVersion() == 100 || topologyKind == CgmesTopologyKind.NODE_BREAKER;
}

public Collection<String> getRegionsIds() {
Expand Down

0 comments on commit c72e70d

Please sign in to comment.