@Override protected void postfetch(A action, R result) { if (result == null) { getCache().remove(action); } else { getCache().put(action, result); } }
@Override protected void postfetch(A action, R result) { // Check if null result if (result == null) { getCache().remove(action); } else { // Cache getCache().put(action, result); } }