Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Szendrey committed Oct 16, 2024
1 parent aab1817 commit e0ce3c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public Intervention clone() {
// Check for no negative timesteps
// Check for no duplicate time + appliedTo pairs in static interventions
public Boolean validateIntervention() throws Exception {
//Sort static list
//Sort static list such that each duplicate pair of appliedTo and timestep are beside eachother
Collections.sort(this.staticInterventions, (staticOne, staticTwo) -> {
final String stringOne = staticOne.getAppliedTo() + staticOne.getTimestep().toString();
final String stringTwo = staticTwo.getAppliedTo() + staticTwo.getTimestep().toString();
Expand Down

0 comments on commit e0ce3c7

Please sign in to comment.