Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Updated Forecast Adapter using SOLID principles. #335

Open
wants to merge 3 commits into
base: sunshine_master
Choose a base branch
from

Conversation

Sugooi
Copy link

@Sugooi Sugooi commented Jul 9, 2017

By using switch code was violating the open-closed principle.

Removed the switches as it was violating the open-close principle.
Updated ForecastAdapter using SOLID principles.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant