-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor WeatherSource
and WeatherSourceWrapper
#180
Labels
code quality
Code readability or efficiency is improved
Comments
This was referenced Feb 5, 2024
staudtMarius
added a commit
that referenced
this issue
Mar 8, 2024
# Conflicts: # CHANGELOG.md # src/main/scala/edu/ie3/simona/config/ConfigFailFast.scala # src/main/scala/edu/ie3/simona/service/weather/WeatherSource.scala # src/main/scala/edu/ie3/simona/service/weather/WeatherSourceWrapper.scala # src/test/scala/edu/ie3/simona/config/ConfigFailFastSpec.scala # src/test/scala/edu/ie3/simona/service/weather/WeatherSourceSpec.scala
staudtMarius
added a commit
that referenced
this issue
May 16, 2024
staudtMarius
added a commit
that referenced
this issue
Jun 24, 2024
…-Wrapper # Conflicts: # src/main/scala/edu/ie3/simona/config/ConfigFailFast.scala
staudtMarius
added a commit
that referenced
this issue
Jul 1, 2024
…-Wrapper # Conflicts: # CHANGELOG.md # src/main/scala/edu/ie3/simona/service/weather/SampleWeatherSource.scala # src/test/scala/edu/ie3/simona/service/weather/WeatherSourceSpec.scala
danielfeismann
added a commit
that referenced
this issue
Jul 3, 2024
staudtMarius
added a commit
that referenced
this issue
Jul 8, 2024
…-Wrapper # Conflicts: # src/test/scala/edu/ie3/simona/config/ConfigFailFastSpec.scala
staudtMarius
added a commit
that referenced
this issue
Jul 9, 2024
danielfeismann
added a commit
that referenced
this issue
Jul 11, 2024
…urce-and-Wrapper Refactor WeatherSource and WeatherSourceWrapper.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WeatherSource:
WeatherSource#apply
andWeatherSource#checkConfig
can be consolidated.checkConfig
is a bad name considering what the method is doing, anyway.WeatherSourceWrapper
in line 344ff can be simplifiedWeatherSourceWrapper:
WeatherSourceWrapper#apply
methods is unnecessary and confusingThere's probably more once one looks deeper into this
The text was updated successfully, but these errors were encountered: