use interface instead of implementation

This commit is contained in:
Hans-Joachim Kliemeck 2013-08-17 13:45:34 +02:00
parent 526c65fb39
commit b697a4b0ba
1 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Future;
import net.spy.memcached.MemcachedClient;
import net.spy.memcached.MemcachedClientIF;
/**
* Implementation of the {@link org.jasig.cas.client.proxy.ProxyGrantingTicketStorage} interface that is backed by
@ -39,7 +40,7 @@ import net.spy.memcached.MemcachedClient;
public final class MemcachedBackedProxyGrantingTicketStorageImpl extends
AbstractEncryptedProxyGrantingTicketStorageImpl {
private final MemcachedClient client;
protected final MemcachedClientIF client;
/**
* Default constructor reads from the /casclient_memcached_hosts.txt in the classpath. Each line should be a host:port