Closed Netwyn closed 2 years ago
Changed HashMap to an EnumMap in class BasicCachingStrategy
HashMap
EnumMap
BasicCachingStrategy
Unsure of its real benefits, but it is recommended to be used in scenarios where the key value of the HashMap is meant to be an enum.
key
I don't see any downsides to doing this, plus it's recommended practice.
Wasn't this supposed to be an abstract Query class instead of an Endpoint enum later on?
Changed
HashMap
to anEnumMap
in classBasicCachingStrategy
Unsure of its real benefits, but it is recommended to be used in scenarios where the
key
value of theHashMap
is meant to be an enum.