From ec4b8e5d2e73ab7255daf96f042d9dc59e7c24b3 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Mon, 23 Sep 2019 04:05:33 -0700 Subject: [PATCH] Removed unused method --- core/src/com/riiablo/codec/excel/Excel.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/core/src/com/riiablo/codec/excel/Excel.java b/core/src/com/riiablo/codec/excel/Excel.java index d6ac04ef..9605260c 100644 --- a/core/src/com/riiablo/codec/excel/Excel.java +++ b/core/src/com/riiablo/codec/excel/Excel.java @@ -350,21 +350,6 @@ public abstract class Excel implements Iterable { public void writeBin(DataOutput out) throws IOException {} - public static T read(Class excelClass, DataInput in) { - if (!isBinned(excelClass)) { - throw new GdxRuntimeException(excelClass + " is not annotated with " + Excel.Binned.class); - } - - try { - T excel = excelClass.newInstance(); - excel.readBin(in); - excel.init(); - return excel; - } catch (Throwable t) { - throw new GdxRuntimeException("Couldn't load excel " + excelClass, t); - } - } - @SuppressWarnings("unchecked") private static Class getEntryClass(Class excelClass) { Class[] declaredClasses = excelClass.getDeclaredClasses();