[Cache/CouchbaseCache] Return false instead of null for compat. #240

Merged
merged 2 commits into from Jan 7, 2013
Commits on Jan 7, 2013
  1. @daschl

    [Cache/CouchbaseCache] Return false instead of null for compat.

    daschl committed Jan 7, 2013
    This changeset fixes and verifies that instead of null, false is returned
    from the fetch method. This fixes a bug which causes CouchbaseCache not
    to work in combination with the ORM library. Test added.
  2. @daschl

    [Cache] Refactoring testFalseOnFailedFetch into CacheTest

    daschl committed Jan 7, 2013
    This changeset makes sure that all supported caches return
    false and not null when a key is not found. This ensures
    compatibility with the ORM layer.