Program: 58239
Project: 58239
Buggy source:
private void initializeDefaultPreferences(){
  IPreferenceStore store=GeneralManager.get().getPreferenceStore();
  store.setDefault(PreferenceConstants.P_BOOLEAN,true);
  store.setDefault(PreferenceConstants.P_CHOICE,"String_Node_Str");
  store.setDefault(PreferenceConstants.P_STRING,"String_Node_Str");
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_VALUE + "String_Node_Str",0.0f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_VALUE + "String_Node_Str",0.5f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_VALUE + "String_Node_Str",1.0f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_LEFT_SPREAD + "String_Node_Str",0f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_LEFT_SPREAD + "String_Node_Str",0.1f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_LEFT_SPREAD + "String_Node_Str",0.1f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_RIGHT_SPREAD + "String_Node_Str",0.1f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_RIGHT_SPREAD + "String_Node_Str",0.1f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_RIGHT_SPREAD + "String_Node_Str",0f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_COLOR + "String_Node_Str","String_Node_Str");
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_COLOR + "String_Node_Str","String_Node_Str");
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_COLOR + "String_Node_Str","String_Node_Str");
  store.setDefault(NAN_COLOR,"String_Node_Str");
  store.setDefault(GENE_EXPRESSION_PREFIX + NUMBER_OF_COLOR_MARKER_POINTS,3);
  store.setDefault(PreferenceConstants.HM_NUM_RANDOM_SAMPLING_POINT,100);
  store.setDefault(PreferenceConstants.HM_NUM_SAMPLES_PER_TEXTURE,500);
  store.setDefault(PreferenceConstants.HM_NUM_SAMPLES_PER_HEATMAP,30);
  store.setDefault(PreferenceConstants.HM_LIMIT_REMOTE_TO_CONTEXT,true);
  store.setDefault(PreferenceConstants.PC_NUM_RANDOM_SAMPLING_POINT,400);
  store.setDefault(PreferenceConstants.PC_LIMIT_REMOTE_TO_CONTEXT,true);
  store.setDefault(PreferenceConstants.DATA_FILTER_LEVEL,"String_Node_Str");
  store.setDefault(PreferenceConstants.PERFORMANCE_LEVEL,"String_Node_Str");
  store.setDefault(PreferenceConstants.VERSION,IGeneralManager.VERSION);
  store.setDefault(PreferenceConstants.FIRST_START,true);
  store.setDefault(PreferenceConstants.PATHWAY_DATA_OK,"String_Node_Str");
  store.setDefault(PreferenceConstants.LAST_CHOSEN_ORGANISM,EOrganism.HOMO_SAPIENS.name());
  store.setDefault(PreferenceConstants.LAST_CHOSEN_PATHWAY_DATA_SOURCES,EPathwayDatabaseType.KEGG.name() + "String_Node_Str" + EPathwayDatabaseType.BIOCARTA.name());
  store.setDefault(PreferenceConstants.LAST_CHOSEN_PROJECT_MODE,"String_Node_Str");
  store.setDefault(PreferenceConstants.USE_PROXY,false);
  store.setDefault(PreferenceConstants.BROWSER_QUERY_DATABASE,EBrowserQueryType.GeneCards.name());
  store.setDefault(PreferenceConstants.VISUAL_LINKS_STYLE,2);
  store.setDefault(PreferenceConstants.VISUAL_LINKS_ANIMATION,false);
  store.setDefault(PreferenceConstants.VISUAL_LINKS_WIDTH,2.0f);
  store.setDefault(PreferenceConstants.VISUAL_LINKS_COLOR,"String_Node_Str");
  store.setDefault(PreferenceConstants.VISUAL_LINKS_ANIMATED_HALO,false);
}

Fixed version (ground truth):
private void initializeDefaultPreferences(){
  IPreferenceStore store=GeneralManager.get().getPreferenceStore();
  store.setDefault(PreferenceConstants.P_BOOLEAN,true);
  store.setDefault(PreferenceConstants.P_CHOICE,"String_Node_Str");
  store.setDefault(PreferenceConstants.P_STRING,"String_Node_Str");
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_VALUE + "String_Node_Str",0.0f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_VALUE + "String_Node_Str",0.5f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_VALUE + "String_Node_Str",1.0f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_LEFT_SPREAD + "String_Node_Str",0f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_LEFT_SPREAD + "String_Node_Str",0.1f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_LEFT_SPREAD + "String_Node_Str",0.1f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_RIGHT_SPREAD + "String_Node_Str",0.1f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_RIGHT_SPREAD + "String_Node_Str",0.1f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_RIGHT_SPREAD + "String_Node_Str",0f);
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_COLOR + "String_Node_Str","String_Node_Str");
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_COLOR + "String_Node_Str","String_Node_Str");
  store.setDefault(GENE_EXPRESSION_PREFIX + COLOR_MARKER_POINT_COLOR + "String_Node_Str","String_Node_Str");
  store.setDefault(NAN_COLOR,"String_Node_Str");
  store.setDefault(GENE_EXPRESSION_PREFIX + NUMBER_OF_COLOR_MARKER_POINTS,3);
  store.setDefault(PreferenceConstants.HM_NUM_RANDOM_SAMPLING_POINT,100);
  store.setDefault(PreferenceConstants.HM_NUM_SAMPLES_PER_TEXTURE,500);
  store.setDefault(PreferenceConstants.HM_NUM_SAMPLES_PER_HEATMAP,30);
  store.setDefault(PreferenceConstants.HM_LIMIT_REMOTE_TO_CONTEXT,true);
  store.setDefault(PreferenceConstants.PC_NUM_RANDOM_SAMPLING_POINT,400);
  store.setDefault(PreferenceConstants.PC_LIMIT_REMOTE_TO_CONTEXT,true);
  store.setDefault(PreferenceConstants.DATA_FILTER_LEVEL,"String_Node_Str");
  store.setDefault(PreferenceConstants.PERFORMANCE_LEVEL,"String_Node_Str");
  store.setDefault(PreferenceConstants.VERSION,IGeneralManager.VERSION);
  store.setDefault(PreferenceConstants.FIRST_START,true);
  store.setDefault(PreferenceConstants.PATHWAY_DATA_OK,"String_Node_Str");
  store.setDefault(PreferenceConstants.LAST_CHOSEN_ORGANISM,EOrganism.HOMO_SAPIENS.name());
  store.setDefault(PreferenceConstants.LAST_CHOSEN_PATHWAY_DATA_SOURCES,"String_Node_Str");
  store.setDefault(PreferenceConstants.LAST_CHOSEN_PROJECT_MODE,"String_Node_Str");
  store.setDefault(PreferenceConstants.USE_PROXY,false);
  store.setDefault(PreferenceConstants.BROWSER_QUERY_DATABASE,EBrowserQueryType.GeneCards.name());
  store.setDefault(PreferenceConstants.VISUAL_LINKS_STYLE,2);
  store.setDefault(PreferenceConstants.VISUAL_LINKS_ANIMATION,false);
  store.setDefault(PreferenceConstants.VISUAL_LINKS_WIDTH,2.0f);
  store.setDefault(PreferenceConstants.VISUAL_LINKS_COLOR,"String_Node_Str");
  store.setDefault(PreferenceConstants.VISUAL_LINKS_ANIMATED_HALO,false);
}