internetarchive/wayback — pull request #36 by kngenie (2014-07-22 07:05:44+00:00)
Title: Wwm 101

`AccessPoint` blindly down-casts `Resource` to `WarcResource` for accessing revisit info specific to WARCs.
It causes `ClassCastException` when `JWATFlexStore` is used for parsing WARC files (WWM-101).

This patch adds two new methods to `Resource` to let `AccessPoint` access revisit info without down-cast.

It also moves `AccessPoint.isWarcRevisitNotModified` method (also contains down-cast) to `WarcResource`. This method is not added to `Resource` class because it's apparently unused.