begin StationService implementation

This commit is contained in:
2025-12-19 15:40:10 +01:00
parent 70e64b153a
commit 1d6a6b522c
2 changed files with 32 additions and 0 deletions

View File

@@ -48,4 +48,10 @@ public class Station {
passedTeams.remove(team);
passingTimes.remove(team);
}
public String setPasswordHash(String passwordHash){
if(this.passwordHash != null) throw new IllegalStateException("Password has already been set");
this.passwordHash = passwordHash;
return this.passwordHash;
}
}