{
boolean satisfies = false;
if ( object instanceof RepositoryContentConsumer )
{
RepositoryContentConsumer consumer = (RepositoryContentConsumer) object;
if ( wantsFile( consumer, StringUtils.replace( basefile.getRelativePath(), "\\", "/" ) ) )
{
satisfies = true;
// regardless of the timestamp, we record that it was wanted so it doesn't get counted as invalid
wantedFileCount++;
if ( !consumer.isProcessUnmodified() )
{
// Timestamp finished points to the last successful scan, not this current one.
if ( basefile.lastModified() < changesSince )
{
// Skip file as no change has occured.