Skip to content

Commit

Permalink
Changed field modifiers to support inheritance (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
amjad1210 authored and areyouok committed May 6, 2018
1 parent 173f049 commit eea601b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
*/
public class DefaultCacheNameGenerator implements CacheNameGenerator {

private String[] hiddenPackages;
protected final String[] hiddenPackages;

private ConcurrentHashMap<Method, String> cacheNameMap = new ConcurrentHashMap();
protected final ConcurrentHashMap<Method, String> cacheNameMap = new ConcurrentHashMap();

public DefaultCacheNameGenerator(String[] hiddenPackages) {
this.hiddenPackages = hiddenPackages;
Expand Down Expand Up @@ -45,9 +45,9 @@ public String generateCacheName(Method method, Object targetObject) {
String str = sb.toString();
cacheNameMap.put(method, str);
return str;
} else {
return cacheName;
}

return cacheName;
}

@Override
Expand Down

0 comments on commit eea601b

Please sign in to comment.