mumoshu/play2-memcached — pull request #24 by mkubala (2013-08-20 16:09:35+00:00)
Title: Empty keys - kind of ehcache compilance, avoiding IllegalArgumentExceptions

Currently when you try to obtain/set/remove cached value for an empty key you will get following exception:
```
IllegalArgumentException: Key must contain at least one character. (StringUtils.java:73)
net.spy.memcached.util.StringUtils.validateKey(StringUtils.java:73)
net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:640)
net.spy.memcached.MemcachedClient.asyncGet(MemcachedClient.java:847)
com.github.mumoshu.play2.memcached.MemcachedPlugin$$anon$2.get(MemcachedPlugin.scala:104)
(..)
```

I discover that some plugins (for example SecureSocial) which uses CacheAPI seems to be not tested with other implementation than default (Ehcache).

In my opinion it will be better to ignore empty keys and avoid exception.
I'm aware that since CacheAPI does not establish any kind of 'cache keys contract' it is hard to determine who is responsible for guarding keys (client or concrete cache api implementation?) so do with this pull request what you want ;)