Program: 5003
Project: 5003
Buggy source:
/** 
 * Load in the default values.  Any properties written to the real properties file will overwrite these. 
 */
private void loadDefaults(){
  setAllowBrowser(DEFAULT_ALLOW_BROWSER);
  setMaxTTL(DEFAULT_MAX_TTL);
  setSoftMaxTTL(DEFAULT_SOFT_MAX_TTL);
  setTTL(DEFAULT_TTL);
  setMaxLength(DEFAULT_MAX_LENGTH);
  setTimeout(DEFAULT_TIMEOUT);
  setHostList(DEFAULT_HOST_LIST);
  setKeepAlive(DEFAULT_KEEP_ALIVE);
  setPort(DEFAULT_PORT);
  setConnectionSpeed(DEFAULT_SPEED);
  setUploadSpeed(DEFAULT_UPLOAD_SPEED);
  setSearchLimit(DEFAULT_SEARCH_LIMIT);
  setClientID((new GUID(Message.makeGuid())).toHexString());
  setMaxIncomingConnections(DEFAULT_MAX_INCOMING_CONNECTION);
  setBannedIps(DEFAULT_BANNED_IPS);
  setBannedWords(DEFAULT_BANNED_WORDS);
  setFilterAdult(DEFAULT_FILTER_ADULT);
  setFilterDuplicates(DEFAULT_FILTER_DUPLICATES);
  setFilterVbs(DEFAULT_FILTER_VBS);
  setFilterHtml(DEFAULT_FILTER_HTML);
  setFilterGreedyQueries(DEFAULT_FILTER_GREEDY_QUERIES);
  setExtensions(DEFAULT_EXTENSIONS);
  setBannedIps(SettingsInterface.DEFAULT_BANNED_IPS);
  setBannedWords(SettingsInterface.DEFAULT_BANNED_WORDS);
  setFilterAdult(SettingsInterface.DEFAULT_FILTER_ADULT);
  setFilterDuplicates(SettingsInterface.DEFAULT_FILTER_DUPLICATES);
  setFilterVbs(SettingsInterface.DEFAULT_FILTER_VBS);
  setFilterHtml(SettingsInterface.DEFAULT_FILTER_HTML);
  setFilterGreedyQueries(DEFAULT_FILTER_GREEDY_QUERIES);
  setFilterBearShareQueries(SettingsInterface.DEFAULT_FILTER_BEARSHARE_QUERIES);
  setUseQuickConnect(DEFAULT_USE_QUICK_CONNECT);
  setQuickConnectHosts(DEFAULT_QUICK_CONNECT_HOSTS);
  setParallelSearchMax(DEFAULT_PARALLEL_SEARCH);
  setClearCompletedUpload(DEFAULT_CLEAR_UPLOAD);
  setClearCompletedDownload(DEFAULT_CLEAR_DOWNLOAD);
  setMaxSimDownload(DEFAULT_MAX_SIM_DOWNLOAD);
  setPromptExeDownload(DEFAULT_PROMPT_EXE_DOWNLOAD);
  setMaxUploads(DEFAULT_MAX_UPLOADS);
  setSearchAnimationTime(DEFAULT_SEARCH_ANIMATION_TIME);
  setConnectString(DEFAULT_CONNECT_STRING);
  setConnectOkString(DEFAULT_CONNECT_OK_STRING);
  setCheckAgain(DEFAULT_CHECK_AGAIN);
  setBasicInfoForQuery(DEFAULT_BASIC_INFO_FOR_QUERY);
  setAdvancedInfoForQuery(DEFAULT_ADVANCED_INFO_FOR_QUERY);
  setForceIPAddress(DEFAULT_FORCE_IP_ADDRESS);
  setForcedIPAddress(DEFAULT_FORCED_IP_ADDRESS);
  setForcedIPAddressString(DEFAULT_FORCED_IP_ADDRESS_STRING);
  setForcedPort(DEFAULT_FORCED_PORT);
  setFreeloaderFiles(DEFAULT_FREELOADER_FILES);
  setFreeloaderAllowed(DEFAULT_FREELOADER_ALLOWED);
  setUploadsPerPerson(DEFAULT_UPLOADS_PER_PERSON);
  setAverageUptime(DEFAULT_AVERAGE_UPTIME);
  setTotalUptime(DEFAULT_TOTAL_UPTIME);
  setSessions(DEFAULT_SESSIONS);
  setInstalled(DEFAULT_INSTALLED);
  setRunOnce(DEFAULT_RUN_ONCE);
  setShowTrayDialog(DEFAULT_SHOW_TRAY_DIALOG);
  setMinimizeToTray(DEFAULT_MINIMIZE_TO_TRAY);
  setShowCloseDialog(DEFAULT_SHOW_CLOSE_DIALOG);
  setLimeWireJarName(DEFAULT_LIME_WIRE_JAR_NAME);
}

Fixed version (ground truth):
/** 
 * Load in the default values.  Any properties written to the real properties file will overwrite these. 
 */
private void loadDefaults(){
  setAllowBrowser(DEFAULT_ALLOW_BROWSER);
  setMaxTTL(DEFAULT_MAX_TTL);
  setSoftMaxTTL(DEFAULT_SOFT_MAX_TTL);
  setTTL(DEFAULT_TTL);
  setMaxLength(DEFAULT_MAX_LENGTH);
  setTimeout(DEFAULT_TIMEOUT);
  setHostList(DEFAULT_HOST_LIST);
  setKeepAlive(DEFAULT_KEEP_ALIVE);
  setPort(DEFAULT_PORT);
  setConnectionSpeed(DEFAULT_SPEED);
  setUploadSpeed(DEFAULT_UPLOAD_SPEED);
  setSearchLimit(DEFAULT_SEARCH_LIMIT);
  setClientID((new GUID(Message.makeGuid())).toHexString());
  setMaxIncomingConnections(DEFAULT_MAX_INCOMING_CONNECTION);
  setBannedIps(DEFAULT_BANNED_IPS);
  setBannedWords(DEFAULT_BANNED_WORDS);
  setFilterAdult(DEFAULT_FILTER_ADULT);
  setFilterDuplicates(DEFAULT_FILTER_DUPLICATES);
  setFilterVbs(DEFAULT_FILTER_VBS);
  setFilterHtml(DEFAULT_FILTER_HTML);
  setFilterGreedyQueries(DEFAULT_FILTER_GREEDY_QUERIES);
  setExtensions(DEFAULT_EXTENSIONS);
  setBannedIps(SettingsInterface.DEFAULT_BANNED_IPS);
  setBannedWords(SettingsInterface.DEFAULT_BANNED_WORDS);
  setFilterAdult(SettingsInterface.DEFAULT_FILTER_ADULT);
  setFilterDuplicates(SettingsInterface.DEFAULT_FILTER_DUPLICATES);
  setFilterVbs(SettingsInterface.DEFAULT_FILTER_VBS);
  setFilterHtml(SettingsInterface.DEFAULT_FILTER_HTML);
  setFilterGreedyQueries(DEFAULT_FILTER_GREEDY_QUERIES);
  setFilterBearShareQueries(SettingsInterface.DEFAULT_FILTER_BEARSHARE_QUERIES);
  setUseQuickConnect(DEFAULT_USE_QUICK_CONNECT);
  setQuickConnectHosts(DEFAULT_QUICK_CONNECT_HOSTS);
  setParallelSearchMax(DEFAULT_PARALLEL_SEARCH);
  setClearCompletedUpload(DEFAULT_CLEAR_UPLOAD);
  setClearCompletedDownload(DEFAULT_CLEAR_DOWNLOAD);
  setMaxSimDownload(DEFAULT_MAX_SIM_DOWNLOAD);
  setPromptExeDownload(DEFAULT_PROMPT_EXE_DOWNLOAD);
  setMaxUploads(DEFAULT_MAX_UPLOADS);
  setSearchAnimationTime(DEFAULT_SEARCH_ANIMATION_TIME);
  setConnectString(DEFAULT_CONNECT_STRING);
  setConnectOkString(DEFAULT_CONNECT_OK_STRING);
  setCheckAgain(DEFAULT_CHECK_AGAIN);
  setBasicInfoForQuery(DEFAULT_BASIC_INFO_FOR_QUERY);
  setAdvancedInfoForQuery(DEFAULT_ADVANCED_INFO_FOR_QUERY);
  setForceIPAddress(DEFAULT_FORCE_IP_ADDRESS);
  setForcedIPAddress(DEFAULT_FORCED_IP_ADDRESS);
  setForcedIPAddressString(DEFAULT_FORCED_IP_ADDRESS_STRING);
  setForcedPort(DEFAULT_FORCED_PORT);
  setFreeloaderFiles(DEFAULT_FREELOADER_FILES);
  setFreeloaderAllowed(DEFAULT_FREELOADER_ALLOWED);
  setUploadsPerPerson(DEFAULT_UPLOADS_PER_PERSON);
  setAverageUptime(DEFAULT_AVERAGE_UPTIME);
  setTotalUptime(DEFAULT_TOTAL_UPTIME);
  setSessions(DEFAULT_SESSIONS);
  setInstalled(DEFAULT_INSTALLED);
  setRunOnce(DEFAULT_RUN_ONCE);
  setShowTrayDialog(DEFAULT_SHOW_TRAY_DIALOG);
  setMinimizeToTray(DEFAULT_MINIMIZE_TO_TRAY);
  setShowCloseDialog(DEFAULT_SHOW_CLOSE_DIALOG);
  setClassPath(DEFAULT_CLASSPATH);
}