Skip to content

Commit

Permalink
Fix for canonicalKey
Browse files Browse the repository at this point in the history
  • Loading branch information
smadappa committed Mar 3, 2017
1 parent b2e357a commit 6d11dd2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,9 @@ public <T> T get(String key, Transcoder<T> tc) throws EVCacheException {
}


<T> T doGet(String canonicalKey , Transcoder<T> tc) throws EVCacheException {
<T> T doGet(String key , Transcoder<T> tc) throws EVCacheException {
final boolean throwExc = doThrowException();
final String canonicalKey = getCanonicalizedKey(key);
EVCacheClient client = _pool.getEVCacheClientForRead();
if (client == null) {
increment("NULL_CLIENT");
Expand Down Expand Up @@ -539,7 +540,6 @@ public <T> T getAndTouch(String key, int timeToLive, Transcoder<T> tc) throws EV
}

<T> T doGetAndTouch(String key, int timeToLive, Transcoder<T> tc) throws EVCacheException {

final String canonicalKey = getCanonicalizedKey(key);
final boolean throwExc = doThrowException();
EVCacheClient client = _pool.getEVCacheClientForRead();
Expand Down

0 comments on commit 6d11dd2

Please sign in to comment.