From b0e31eb8370606f9a590bdb3cc82410bd586a41d Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Tue, 11 Oct 2011 13:03:33 +0200 Subject: [PATCH] Supressed warnings in eclipse --- src/com/massivecraft/factions/zcore/util/Persist.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/massivecraft/factions/zcore/util/Persist.java b/src/com/massivecraft/factions/zcore/util/Persist.java index 1c37150a..89c6aafd 100644 --- a/src/com/massivecraft/factions/zcore/util/Persist.java +++ b/src/com/massivecraft/factions/zcore/util/Persist.java @@ -136,11 +136,13 @@ public class Persist { // LOAD BY TYPE + @SuppressWarnings("unchecked") public T load(Type typeOfT, String name) { return (T) load(typeOfT, getFile(name)); } + @SuppressWarnings("unchecked") public T load(Type typeOfT, File file) { String content = DiscUtil.readCatch(file);