Commit Graph
8 Commits
Author SHA1 Message Date
hannesbraun fb6291792d Use ConcurrentHashMap for timetableList
Multiple requests may be processed at the same time and could otherwise cause problems (concurrent write operations)
2021-10-24 14:34:00 +02:00
hannesbraun 993b8f6a71 Small improvements
- Improve formatting
- Fix some typos
- Mini code improvements
2021-10-24 14:34:00 +02:00
hannesbraun f9cc9b5e14 Make the update scheduling more readable (hopefully) 2021-10-24 14:34:00 +02:00
hannesbraun 460d1ee131 StatusController: use properties instead of getters 2021-10-24 14:33:59 +02:00
hannesbraun 90847a2730 Also set JVM target to 11 for Java 2021-10-24 14:33:59 +02:00
hannesbraun a292b45fcb Dependency updates
This also replaces JCenter with Maven Central since JCenter is now read-only
2021-10-24 14:33:59 +02:00
hannesbraun 22f17d10e0 Timetable fixes
- Only one request is made to get the timetable HTML document for parsing the timetable and the weekNumberYear
- On timeouts or other errors, the cached data won't be overwritten with emptiness anymore
- The scheduled updates will now also update the weekNumberYear
2021-10-24 14:33:59 +02:00
hannesbraun ae9bf2a562 Update Kotlin to 1.5.31 2021-10-24 14:33:58 +02:00