File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
src/main/java/org/gridsuite/securityanalysis/server/entities Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 1919
2020 <groupId >org.gridsuite</groupId >
2121 <artifactId >gridsuite-security-analysis-server</artifactId >
22- <version >2.12 .0-SNAPSHOT</version >
22+ <version >2.13 .0-SNAPSHOT</version >
2323
2424 <packaging >jar</packaging >
2525 <name >Security analysis server</name >
4343
4444 <properties >
4545 <jib .from.image>powsybl/java-dynawo:2.1.0</jib .from.image>
46- <gridsuite-dependencies .version>35 </gridsuite-dependencies .version>
46+ <gridsuite-dependencies .version>36 </gridsuite-dependencies .version>
4747 <liquibase-hibernate-package >org.gridsuite.securityanalysis.server</liquibase-hibernate-package >
4848 <db-util .version>1.0.5</db-util .version>
4949 <mockwebserver3 .version>5.0.0-alpha.14</mockwebserver3 .version>
8989 <dependencyManagement >
9090 <dependencies >
9191 <!-- overrides of imports -->
92- <dependency ><!-- To remove when integrate in next release of gridsuite-dependencies or powsybl-ws-dependencies -->
93- <groupId >com.powsybl</groupId >
94- <artifactId >powsybl-ws-commons</artifactId >
95- <version >1.19.0</version >
96- </dependency >
9792 <dependency ><!-- To remove when integrate in next release of gridsuite-dependencies or powsybl-ws-dependencies -->
9893 <groupId >com.squareup.okhttp3</groupId >
9994 <artifactId >okhttp-bom</artifactId >
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public abstract class AbstractLimitViolationEntity {
6060
6161 public static Double computeLoading (LimitViolation limitViolation ) {
6262 return LimitViolationType .CURRENT .equals (limitViolation .getLimitType ())
63- ? ( 100 * limitViolation .getValue ()) / ( limitViolation .getLimit () * limitViolation . getLimitReduction () )
63+ ? 100 * limitViolation .getValue () / limitViolation .getLimit ()
6464 : null ;
6565 }
6666}
You can’t perform that action at this time.
0 commit comments