Program: 171391
Project: 171391
Buggy source:
public void updateBodyHairColour(){
  for (  Race r : Race.values()) {
switch (r) {
case ANGEL:
      coverings.put(BodyCoveringType.BODY_HAIR_ANGEL,new Covering(BodyCoveringType.BODY_HAIR_ANGEL,coverings.get(BodyCoveringType.HAIR_ANGEL).getPrimaryColour()));
    break;
case CAT_MORPH:
  coverings.put(BodyCoveringType.BODY_HAIR_FELINE_FUR,new Covering(BodyCoveringType.BODY_HAIR_FELINE_FUR,coverings.get(BodyCoveringType.HAIR_FELINE_FUR).getPrimaryColour()));
break;
case DEMON:
coverings.put(BodyCoveringType.BODY_HAIR_DEMON,new Covering(BodyCoveringType.BODY_HAIR_DEMON,coverings.get(BodyCoveringType.HAIR_DEMON).getPrimaryColour()));
break;
case DOG_MORPH:
coverings.put(BodyCoveringType.BODY_HAIR_CANINE_FUR,new Covering(BodyCoveringType.BODY_HAIR_CANINE_FUR,coverings.get(BodyCoveringType.HAIR_CANINE_FUR).getPrimaryColour()));
break;
case HARPY:
coverings.put(BodyCoveringType.BODY_HAIR_HARPY,new Covering(BodyCoveringType.BODY_HAIR_HARPY,coverings.get(BodyCoveringType.HAIR_HARPY).getPrimaryColour()));
break;
case HORSE_MORPH:
coverings.put(BodyCoveringType.BODY_HAIR_HORSE_HAIR,new Covering(BodyCoveringType.BODY_HAIR_HORSE_HAIR,coverings.get(BodyCoveringType.HAIR_HORSE_HAIR).getPrimaryColour()));
break;
case HUMAN:
coverings.put(BodyCoveringType.BODY_HAIR_HUMAN,new Covering(BodyCoveringType.BODY_HAIR_HUMAN,coverings.get(BodyCoveringType.HAIR_HUMAN).getPrimaryColour()));
break;
case SLIME:
coverings.put(BodyCoveringType.BODY_HAIR_SLIME,new Covering(BodyCoveringType.BODY_HAIR_SLIME,coverings.get(BodyCoveringType.HAIR_SLIME).getPrimaryColour()));
break;
case SQUIRREL_MORPH:
coverings.put(BodyCoveringType.BODY_HAIR_SQUIRREL_FUR,new Covering(BodyCoveringType.BODY_HAIR_SQUIRREL_FUR,coverings.get(BodyCoveringType.HAIR_SQUIRREL_FUR).getPrimaryColour()));
break;
case WOLF_MORPH:
coverings.put(BodyCoveringType.BODY_HAIR_LYCAN_FUR,new Covering(BodyCoveringType.BODY_HAIR_LYCAN_FUR,coverings.get(BodyCoveringType.HAIR_LYCAN_FUR).getPrimaryColour()));
break;
}
}
}

Fixed version (ground truth):
public void updateBodyHairColour(){
  for (  Race r : Race.values()) {
switch (r) {
case ANGEL:
      coverings.put(BodyCoveringType.BODY_HAIR_ANGEL,new Covering(BodyCoveringType.BODY_HAIR_ANGEL,coverings.get(BodyCoveringType.HAIR_ANGEL).getPrimaryColour()));
    break;
case CAT_MORPH:
  coverings.put(BodyCoveringType.BODY_HAIR_FELINE_FUR,new Covering(BodyCoveringType.BODY_HAIR_FELINE_FUR,coverings.get(BodyCoveringType.HAIR_FELINE_FUR).getPrimaryColour()));
break;
case DEMON:
coverings.put(BodyCoveringType.BODY_HAIR_DEMON,new Covering(BodyCoveringType.BODY_HAIR_DEMON,coverings.get(BodyCoveringType.HAIR_DEMON).getPrimaryColour()));
break;
case DOG_MORPH:
coverings.put(BodyCoveringType.BODY_HAIR_CANINE_FUR,new Covering(BodyCoveringType.BODY_HAIR_CANINE_FUR,coverings.get(BodyCoveringType.HAIR_CANINE_FUR).getPrimaryColour()));
break;
case HARPY:
coverings.put(BodyCoveringType.BODY_HAIR_HARPY,new Covering(BodyCoveringType.BODY_HAIR_HARPY,coverings.get(BodyCoveringType.HAIR_HARPY).getPrimaryColour()));
break;
case HORSE_MORPH:
coverings.put(BodyCoveringType.BODY_HAIR_HORSE_HAIR,new Covering(BodyCoveringType.BODY_HAIR_HORSE_HAIR,coverings.get(BodyCoveringType.HAIR_HORSE_HAIR).getPrimaryColour()));
break;
case COW_MORPH:
coverings.put(BodyCoveringType.BODY_HAIR_BOVINE_FUR,new Covering(BodyCoveringType.BODY_HAIR_BOVINE_FUR,coverings.get(BodyCoveringType.HAIR_BOVINE_FUR).getPrimaryColour()));
break;
case HUMAN:
coverings.put(BodyCoveringType.BODY_HAIR_HUMAN,new Covering(BodyCoveringType.BODY_HAIR_HUMAN,coverings.get(BodyCoveringType.HAIR_HUMAN).getPrimaryColour()));
break;
case SLIME:
coverings.put(BodyCoveringType.BODY_HAIR_SLIME,new Covering(BodyCoveringType.BODY_HAIR_SLIME,coverings.get(BodyCoveringType.HAIR_SLIME).getPrimaryColour()));
break;
case SQUIRREL_MORPH:
coverings.put(BodyCoveringType.BODY_HAIR_SQUIRREL_FUR,new Covering(BodyCoveringType.BODY_HAIR_SQUIRREL_FUR,coverings.get(BodyCoveringType.HAIR_SQUIRREL_FUR).getPrimaryColour()));
break;
case WOLF_MORPH:
coverings.put(BodyCoveringType.BODY_HAIR_LYCAN_FUR,new Covering(BodyCoveringType.BODY_HAIR_LYCAN_FUR,coverings.get(BodyCoveringType.HAIR_LYCAN_FUR).getPrimaryColour()));
break;
}
}
}