Open inspector-cochise opened 12 years ago
So that means a question should store all the relevant circumstances under which it had been answered.
Sounds like a lot of equals and hashValue implementations to me...
just to say it: This issue is only relevant for the ConsoleUI and thus will maybe left open for some time.
Now a manual question that has been (positively) answered once, always get's the same input reproduced. Even when something vital has changed, like there appears another module in the list of loaded modules.
Every question that is affected by this effect knows about it's special properties. So just hash this property (MessageDigest.getInstance("MD5") or similar), save it and every new time compare it to the last one if something changed don't let it go through.
Completely remove the replay methods!