From 855430dd01f14f6446c03eae88ffd02d2f0c4f67 Mon Sep 17 00:00:00 2001 From: trobro Date: Sat, 14 Oct 2023 17:40:42 +0200 Subject: [PATCH] removed unused --- src/test/org/hjson/test/Main.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/org/hjson/test/Main.java b/src/test/org/hjson/test/Main.java index ea52c8d..e612ca1 100644 --- a/src/test/org/hjson/test/Main.java +++ b/src/test/org/hjson/test/Main.java @@ -28,8 +28,6 @@ private static String load(String file, boolean cr) throws Exception { } private static boolean test(String name, String file, boolean inputCr, boolean outputCr) throws Exception { - int extIdx=file.lastIndexOf('.'); - boolean isJson=extIdx>=0 && file.substring(extIdx).equals(".json"); boolean shouldFail=name.startsWith("fail"); JsonValue.setEol(outputCr?"\r\n":"\n");