Skip to content

fix(review): address PR #355 review comments

b2c4ebb
Select commit
Loading
Failed to load commit list.
Merged

Add track length validation to prevent trains exceeding available track distance #355

fix(review): address PR #355 review comments
b2c4ebb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 27, 2026 in 27s

Annotations

Check warning on line 478 in core/src/commonMain/kotlin/cz/vutbr/fit/interlockSim/sim/Train.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless non-null assertion !!, it always succeeds.

See more on https://sonarcloud.io/project/issues?id=bedaHovorka_interlockSim&issues=AZ0uS7kkLAcrpkV_GaV_&open=AZ0uS7kkLAcrpkV_GaV_&pullRequest=355