[Demonstration 1]

[Buggy Method]
private Patient randomPatient() {
    Patient patient = new Patient();
    patient.setIdentityCard(UUID.randomUUID().toString().replace("-", ""));
    patient.setName(UUID.randomUUID().toString().substring(0, 10));
    patient = patientRepository.save(patient);
    return patient;
}

[Buggy Hunk]
patient.setIdentityCard(UUID.randomUUID().toString().replace("-", ""));

[Patch]
patient.setIdentityCard(randomString(20));

[Demonstration 2]

[Buggy Method]
public boolean onLeftClickEntity(ItemStack stack, EntityPlayer player, Entity entity) {
    World world = player.worldObj;
    if (!world.isRemote) {
        if (entity instanceof EntityScorpion) {
            entity.dropItem(halocraft.Main.itemScorpion, 1);
            entity.setDead();
        } else {
            player.addChatMessage(new ChatComponentText("[HaloCraft 2.0] This is not a Scorpion!"));
        }
    }
    return false;
}

[Buggy Hunk]
entity.dropItem(halocraft.Main.itemScorpion, 1);

[Patch]
entity.dropItem(ItemScorpion.instance, 1);

[Demonstration 3]

[Buggy Method]
public final void initializeElement(FlowChartElement e) {
    e.setType("");
    e.setNodeCode(null);
}

[Buggy Hunk]
e.setType("");

[Patch]
e.setType(null);