From 3b3d28c3fcef11b1d4ebb7deb04385dddae20e32 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 2 Aug 2016 01:06:21 +0200 Subject: [PATCH] the heck, when did I write that? O_o --- .../actuallyadditions/mod/booklet/page/BookletPageAA.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/page/BookletPageAA.java b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/page/BookletPageAA.java index 04d0ba850..806d584d3 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/page/BookletPageAA.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/booklet/page/BookletPageAA.java @@ -52,9 +52,8 @@ public class BookletPageAA extends BookletPage{ base = base.replaceAll("", TextFormatting.ITALIC+""); base = base.replaceAll("", TextFormatting.DARK_RED+""+TextFormatting.UNDERLINE); //This is fucking important so go read it now - for(Object o : this.textReplacements.entrySet()){ - Map.Entry e = (Map.Entry)o; - base = base.replaceAll((String)e.getKey(), (String)e.getValue()); + for(Map.Entry entry : this.textReplacements.entrySet()){ + base = base.replaceAll(entry.getKey(), entry.getValue()); } return base; }