Program: 152843
Project: 152843
Buggy source:
/** 
 * Checks if the given log entry should be considered for the purposes of SCM polling.
 * @return <code>true</code> if the should trigger polling, <code>false</code> otherwise
 */
private boolean checkLogEntry(SVNLogEntry logEntry){
  if (excludedRevprop != null) {
    SVNProperties revprops=logEntry.getRevisionProperties();
    if (revprops != null && revprops.containsName(excludedRevprop)) {
      listener.getLogger().println(Messages.SubversionSCM_pollChanges_ignoredRevision(logEntry.getRevision(),Messages.SubversionSCM_pollChanges_ignoredRevision_revprop(excludedRevprop)));
      return false;
    }
  }
  String author=logEntry.getAuthor();
  for (  String user : excludedUsers) {
    if (author.equals(user)) {
      listener.getLogger().println(Messages.SubversionSCM_pollChanges_ignoredRevision(logEntry.getRevision(),Messages.SubversionSCM_pollChanges_ignoredRevision_author(author)));
      return false;
    }
  }
  Map changedPaths=logEntry.getChangedPaths();
  if (changedPaths.isEmpty()) {
    return false;
  }
  List<String> excludedPaths=new ArrayList<String>();
  for (  Object paths : changedPaths.values()) {
    SVNLogEntryPath logEntryPath=(SVNLogEntryPath)paths;
    String path=logEntryPath.getPath();
    for (    Pattern pattern : excludedPatterns) {
      if (pattern.matcher(path).matches()) {
        excludedPaths.add(path);
      }
    }
  }
  if (changedPaths.size() == excludedPaths.size()) {
    listener.getLogger().println(Messages.SubversionSCM_pollChanges_ignoredRevision(logEntry.getRevision(),Messages.SubversionSCM_pollChanges_ignoredRevision_path(Util.join(excludedPaths,"String_Node_Str"))));
    return false;
  }
  return true;
}

Fixed version (ground truth):
/** 
 * Checks if the given log entry should be considered for the purposes of SCM polling.
 * @return <code>true</code> if the should trigger polling, <code>false</code> otherwise
 */
private boolean checkLogEntry(SVNLogEntry logEntry){
  if (excludedRevprop != null) {
    SVNProperties revprops=logEntry.getRevisionProperties();
    if (revprops != null && revprops.containsName(excludedRevprop)) {
      listener.getLogger().println(Messages.SubversionSCM_pollChanges_ignoredRevision(logEntry.getRevision(),Messages.SubversionSCM_pollChanges_ignoredRevision_revprop(excludedRevprop)));
      return false;
    }
  }
  String author=logEntry.getAuthor();
  if (excludedUsers.contains(author)) {
    listener.getLogger().println(Messages.SubversionSCM_pollChanges_ignoredRevision(logEntry.getRevision(),Messages.SubversionSCM_pollChanges_ignoredRevision_author(author)));
    return false;
  }
  Map changedPaths=logEntry.getChangedPaths();
  if (changedPaths.isEmpty()) {
    return false;
  }
  List<String> excludedPaths=new ArrayList<String>();
  for (  String path : (Set<String>)changedPaths.keySet()) {
    for (    Pattern pattern : excludedPatterns) {
      if (pattern.matcher(path).matches()) {
        excludedPaths.add(path);
        break;
      }
    }
  }
  if (changedPaths.size() == excludedPaths.size()) {
    listener.getLogger().println(Messages.SubversionSCM_pollChanges_ignoredRevision(logEntry.getRevision(),Messages.SubversionSCM_pollChanges_ignoredRevision_path(Util.join(excludedPaths,"String_Node_Str"))));
    return false;
  }
  return true;
}