[Demonstration 1]

[Buggy Method]
@Override
public HashMap<String, HashMap<String, String>> loadTranslations(Plugin plugin) {
    HashMap<String, HashMap<String, String>> translations = new HashMap<>();
    File file = new File(plugin.getDataFolder(), "messages.yml");
    YamlConfiguration yaml = YamlConfiguration.loadConfiguration(file);
    for (String lang : yaml.getKeys(false)) {
        HashMap<String, String> translation = new HashMap<>();
        for (String key : yaml.getConfigurationSection(lang).getKeys(false)) {
            translation.put(key, yaml.getString(lang + "." + key));
        }
        translations.put(lang, translation);
    }
    return translations;
}

[Buggy Hunk]
for (String key : yaml.getConfigurationSection(lang).getKeys(false)) {

[Patch]
for (String key : yaml.getConfigurationSection(lang).getKeys(true)) {

[Demonstration 2]

[Buggy Method]
public void crawl() {
    try {
        Quota quota = twitter.TimelineQuota();
        // Exhaust the remaining limit
        for (long counter = 0; counter < quota.getLimit(); counter++) scheduler.next();
        // Wait until quota resets
        Thread.sleep(quota.getReset());
    } catch (InterruptedException ex) {
        // Recoverable error. Log and continue.
        logger.error(ex.getMessage(), ex);
    }
}

[Buggy Hunk]
logger.error(ex.getMessage(), ex);

[Patch]
logger.warn(ex.getMessage(), ex);

[Demonstration 3]

[Buggy Method]
private void refundPlayer(Player p) {
    if (!p.hasPermission("wild.wildtp.cost.bypass")) {
        econ.depositPlayer(p, this.getConfig().getInt("Cost"));
        p.sendMessage(ChatColor.translateAlternateColorCodes('&', this.getConfig().getString("RefundMsg").replace("{cost}", String.valueOf(this.getConfig().getInt("Cost")))));
    }
}

[Buggy Hunk]
if (!p.hasPermission("wild.wildtp.cost.bypass")) {

[Patch]
if (!p.hasPermission("wild.wildtp.cost.bypass")&&this.getConfig().getInt("Cost")>0) {