From d55eeceb4f4bd43fe43b2e2eb6d968f968055428 Mon Sep 17 00:00:00 2001 From: pengzhile Date: Wed, 1 Jul 2020 10:38:15 +0800 Subject: [PATCH] remove useless Signed-off-by: pengzhile --- src/test/java/MyInterface.java | 3 --- src/test/java/Tsss.java | 20 -------------------- 2 files changed, 23 deletions(-) delete mode 100644 src/test/java/MyInterface.java delete mode 100644 src/test/java/Tsss.java diff --git a/src/test/java/MyInterface.java b/src/test/java/MyInterface.java deleted file mode 100644 index 7426e1e..0000000 --- a/src/test/java/MyInterface.java +++ /dev/null @@ -1,3 +0,0 @@ -public interface MyInterface { - public void test(); -} diff --git a/src/test/java/Tsss.java b/src/test/java/Tsss.java deleted file mode 100644 index 5d117c8..0000000 --- a/src/test/java/Tsss.java +++ /dev/null @@ -1,20 +0,0 @@ -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - -public class Tsss { - List list = Arrays.asList(); - - public static void main(String[] args) { - new Tsss().add(new MyInterface() { - @Override - public void test() { - - } - }); - } - - public void add(MyInterface obj) { - list.add(obj); - } -}