[Demonstration 1]

[Buggy Method]
private void onReset(Player p, String[] args) {
    ConfigManager.getInstance().saveEntirePPlayer(PPlayer.getNewPPlayer(p.getUniqueId()));
    MessageManager.getInstance().sendMessage(p, MessageManager.getMessageFromConfig("message-reset", null), ChatColor.GREEN);
}

[Buggy Hunk]
ConfigManager.getInstance().saveEntirePPlayer(PPlayer.getNewPPlayer(p.getUniqueId()));

[Patch]
ConfigManager.getInstance().resetPPlayer(p.getUniqueId());

[Demonstration 2]

[Buggy Method]
@Override
public void onChangeStyle(int pNewStyle) {
    try {
        ConfigManager config = new ConfigManager();
        config.setStyle(pNewStyle);
    } catch (IOException e) {
        System.err.println("Unable to store config file");
    }
    this.controller.setTray(pNewStyle);
}

[Buggy Hunk]
System.err.println("Unable to store config file");

[Patch]
System.err.println("Unable to store config file: " + e.getMessage());

[Demonstration 3]

[Buggy Method]
public static void logMetricForSum(String name, double sum, int quantity) {
    logMetricInternal(name, "S,C", String.format("%s,%.2f", quantity, sum));
}

[Buggy Hunk]
logMetricInternal(name, "S,C", String.format("%s,%.2f", quantity, sum));

[Patch]
logMetricInternal(name, "S,C", String.format(Locale.US, "%s,%.2f", quantity, sum));