Program: 3704
Project: 3704
Buggy source:
@Override public void applySettings(){
  SwingUiSettings.HANDLE_MAGNETS.setValue(associationFileTypeCheckBox.isSelected());
  LimeAssociationOption magnetAssociationOption=LimeAssociations.getMagnetAssociation();
  if (magnetAssociationOption != null) {
    magnetAssociationOption.setEnabled(associationFileTypeCheckBox.isSelected());
  }
  SwingUiSettings.HANDLE_TORRENTS.setValue(associationFileTypeCheckBox.isSelected());
  LimeAssociationOption torrentAssociationOption=LimeAssociations.getTorrentAssociation();
  if (torrentAssociationOption != null) {
    torrentAssociationOption.setEnabled(associationFileTypeCheckBox.isSelected());
  }
  InstallSettings.ASSOCIATION_OPTION.setValue(2);
  if (shouldShowStartOnStartupWindow()) {
    if (OSUtils.isMacOSX())     MacOSXUtils.setLoginStatus(launchAtStartupCheckBox.isSelected());
 else     if (WindowsUtils.isLoginStatusAvailable())     BackgroundExecutorService.execute(new Runnable(){
      @Override public void run(){
        WindowsUtils.setLoginStatus(launchAtStartupCheckBox.isSelected());
      }
    }
);
    StartupSettings.RUN_ON_STARTUP.setValue(launchAtStartupCheckBox.isSelected());
  }
 else   StartupSettings.RUN_ON_STARTUP.setValue(false);
  InstallSettings.START_STARTUP.setValue(true);
  ApplicationSettings.ALLOW_ANONYMOUS_STATISTICS_GATHERING.setValue(shareUsageDataCheckBox.isSelected());
  InstallSettings.ANONYMOUS_DATA_COLLECTION.setValue(true);
  ContentSettings.USER_WANTS_MANAGEMENTS.setValue(contentFilterCheckBox.isSelected());
  InstallSettings.FILTER_OPTION.setValue(true);
}

Fixed version (ground truth):
@Override public void applySettings(){
  SwingUiSettings.HANDLE_MAGNETS.setValue(associationFileTypeCheckBox.isSelected());
  LimeAssociationOption magnetAssociationOption=LimeAssociations.getMagnetAssociation();
  if (magnetAssociationOption != null) {
    magnetAssociationOption.setEnabled(associationFileTypeCheckBox.isSelected());
  }
  SwingUiSettings.HANDLE_TORRENTS.setValue(associationFileTypeCheckBox.isSelected());
  LimeAssociationOption torrentAssociationOption=LimeAssociations.getTorrentAssociation();
  if (torrentAssociationOption != null) {
    torrentAssociationOption.setEnabled(associationFileTypeCheckBox.isSelected());
  }
  InstallSettings.ASSOCIATION_OPTION.setValue(2);
  if (shouldShowStartOnStartupWindow()) {
    if (OSUtils.isMacOSX())     MacOSXUtils.setLoginStatus(launchAtStartupCheckBox.isSelected());
 else     if (WindowsUtils.isLoginStatusAvailable())     BackgroundExecutorService.execute(new Runnable(){
      @Override public void run(){
        WindowsUtils.setLoginStatus(launchAtStartupCheckBox.isSelected());
      }
    }
);
    StartupSettings.RUN_ON_STARTUP.setValue(launchAtStartupCheckBox.isSelected());
  }
 else   StartupSettings.RUN_ON_STARTUP.setValue(false);
  InstallSettings.START_STARTUP.setValue(true);
  ApplicationSettings.ALLOW_ANONYMOUS_STATISTICS_GATHERING.setValue(shareUsageDataCheckBox.isSelected());
  InstallSettings.ANONYMOUS_DATA_COLLECTION.setValue(true);
  ContentSettings.USER_WANTS_MANAGEMENTS.setValue(contentFilterCheckBox.isSelected());
  InstallSettings.CONTENT_FILTER_OPTION.setValue(true);
}