Program: 172380
Project: 172380
Buggy source:
public void addRewrad(int playerId,int id,int count,LogConsume type,Object... params){
  Player player=playerService.getPlayer(playerId);
  GoodsConfig goods=getGoodsConfig(id);
  if (id > 10000) {
    if (goods.type == Goods.BOTTLE) {
      return;
    }
    if (goods.type == Goods.SKILL_CARD) {
      playerService.addSkillCard(playerId,goods.param1[0],count);
      taskService.doTask(playerId,Task.FINISH_CARD_COMPOSE,goods.color,0);
    }
 else     if (goods.type == Goods.SPECIAL_MAP) {
      traversingService.addMap(playerId,goods,count);
    }
 else     if (goods.type == Goods.FASHION) {
      fashionService.addFashion(playerId,goods.param1[0],goods.param1[1]);
    }
 else     if (goods.type == Goods.PET) {
      petService.addPet(playerId,id);
    }
 else     if (goods.type == Goods.PET_MATERIAL) {
      petService.addPetMaterial(playerId,id,count);
    }
 else {
      addGoodsToBag(playerId,id,count,type,params);
    }
  }
 else {
    if (id == Goods.COIN) {
      playerService.addCoin(playerId,count,type,params);
    }
 else     if (id == Goods.DIAMOND) {
      playerService.addDiamond(playerId,count,type,params);
    }
 else     if (id == Goods.EXP) {
      playerService.addExp(playerId,count,type,params);
    }
 else     if (id == Goods.ENERGY) {
      playerService.addEnergy(playerId,count,type,params);
    }
 else     if (id == Goods.VIP_EXP) {
      playerService.addVipExp(playerId,count);
    }
 else     if (id == Goods.EXPERIENCE_HP) {
      trainingLogic.addHP(playerId,count);
    }
 else     if (goods.type == Goods.FAME) {
      fameService.addFame(playerId,goods.param1[0],count);
    }
 else     if (goods.type == Goods.CURRENCY) {
      playerService.addCurrency(playerId,id,count,type,params);
    }
  }
}

Fixed version (ground truth):
public void addRewrad(int playerId,int id,int count,LogConsume type,Object... params){
  Player player=playerService.getPlayer(playerId);
  GoodsConfig goods=getGoodsConfig(id);
  if (id > 10000) {
    if (goods.type == Goods.BOTTLE) {
      return;
    }
    if (goods.type == Goods.SKILL_CARD) {
      playerService.addSkillCard(playerId,goods.param1[0],count);
      taskService.doTask(playerId,Task.FINISH_CARD_COMPOSE,goods.color,0);
    }
 else     if (goods.type == Goods.SPECIAL_MAP) {
      traversingService.addMap(playerId,goods,count);
    }
 else     if (goods.type == Goods.FASHION) {
      fashionService.addFashion(playerId,goods.param1[0],goods.param1[1]);
    }
 else     if (goods.type == Goods.PET) {
      petService.addPet(playerId,id);
    }
 else     if (goods.type == Goods.PET_MATERIAL) {
      petService.addPetMaterial(playerId,id,count,true);
    }
 else {
      addGoodsToBag(playerId,id,count,type,params);
    }
  }
 else {
    if (id == Goods.COIN) {
      playerService.addCoin(playerId,count,type,params);
    }
 else     if (id == Goods.DIAMOND) {
      playerService.addDiamond(playerId,count,type,params);
    }
 else     if (id == Goods.EXP) {
      playerService.addExp(playerId,count,type,params);
    }
 else     if (id == Goods.ENERGY) {
      playerService.addEnergy(playerId,count,type,params);
    }
 else     if (id == Goods.VIP_EXP) {
      playerService.addVipExp(playerId,count);
    }
 else     if (id == Goods.EXPERIENCE_HP) {
      trainingLogic.addHP(playerId,count);
    }
 else     if (goods.type == Goods.FAME) {
      fameService.addFame(playerId,goods.param1[0],count);
    }
 else     if (goods.type == Goods.CURRENCY) {
      playerService.addCurrency(playerId,id,count,type,params);
    }
  }
}