Skip to content

Commit

Permalink
Make AbstractDelegatingAdvancedCache more extensible by making intern…
Browse files Browse the repository at this point in the history
…al cache variable protected. And safer, by making it final.
  • Loading branch information
maniksurtani authored and galderz committed Nov 7, 2011
1 parent 3594a7d commit 479ddc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
*/
public abstract class AbstractDelegatingAdvancedCache<K, V> extends AbstractDelegatingCache<K, V> implements AdvancedCache<K, V> {

private AdvancedCache<K, V> cache;
protected final AdvancedCache<K, V> cache;

public AbstractDelegatingAdvancedCache(AdvancedCache<K, V> cache) {
super(cache);
Expand Down

0 comments on commit 479ddc7

Please sign in to comment.