Skip to content

Commit

Permalink
Make AnswerInvalidationCheck care check that it is a new revision rat…
Browse files Browse the repository at this point in the history
…her than an old one
  • Loading branch information
Zomis committed Sep 8, 2015
1 parent c123aa1 commit cf671cd
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -26,6 +26,9 @@ class AnswerInvalidationCheck {
if (!it.last_body) {
return;
}
if (it.creation_date < lastCheck.epochSecond) {
return;
}
String code = stripNonCode(it.body)
String codeBefore = stripNonCode(it.last_body)
if (!code.equals(codeBefore)) {
Expand Down

0 comments on commit cf671cd

Please sign in to comment.