From 2718522449e28973ae738dd538dc50a947dca68c Mon Sep 17 00:00:00 2001 From: sjsdfg <736777445@qq.com> Date: Sun, 16 Dec 2018 21:44:47 +0800 Subject: [PATCH] =?UTF-8?q?39.=20=E6=B3=A8=E8=A7=A3=E4=BC=98=E4=BA=8E?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 39. 注解优于命名模式.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/39. 注解优于命名模式.md b/39. 注解优于命名模式.md index 477af1d..a243ac3 100644 --- a/39. 注解优于命名模式.md +++ b/39. 注解优于命名模式.md @@ -98,11 +98,8 @@ public class RunTests { ```Java public static void Sample.m3() failed: RuntimeException: Boom - Invalid @Test: public void Sample.m5() - public static void Sample.m7() failed: RuntimeException: Crash - Passed: 1, Failed: 3 ``` @@ -245,11 +242,8 @@ public @interface ExceptionTestContainer { ```Java // Code containing a repeated annotation - @ExceptionTest(IndexOutOfBoundsException.class) - @ExceptionTest(NullPointerException.class) - public static void doublyBad() { ... } ```