final public static CacheEntryBase[] NONE = new CacheEntryBase[0];
- static Object NO_RESULT = new Object();
- static protected Object INVALID_RESULT = new Object();
+ static Object NO_RESULT = new Object() { public String toString() { return "NO_RESULT"; }};
+ static protected Object INVALID_RESULT = new Object() { public String toString() { return "INVALID_RESULT"; }};
// // Just created
// static protected Object FRESH = new Object() { public String toString() { return "CREATED"; }};
}
public void setReady() {
+ assert(result != NO_RESULT);
statusOrException = READY;
}