if (!m_cacheState.validate(directory, distributionFileFilterPattern, connectedAgents)) {
m_cacheState.setOutOfDate();  m_lastDirectory = directory; m_lastFileFilterPattern = distributionFileFilterPattern; }  final long earliestFileTime = m_cacheState.getEarliestFileTime();  if (earliestFileTime < 0) {
  public FileDistributionHandler getHandler(    Directory directory,    Pattern distributionFileFilterPattern) {    final Set connectedAgents = m_distributionControl.getConnectedAgents();    if (!m_cacheState.validate(directory,                               distributionFileFilterPattern,                               connectedAgents)) {      m_distributionControl.clearFileCaches();    }    return new FileDistributionHandlerImplementation(      directory.getAsFile(),      directory.listContents(        new FileDistributionFilter(distributionFileFilterPattern,                                   m_cacheState.getEarliestFileTime())),      m_distributionControl,      m_cacheState);  }