From af6f4c097770191c8a37a998359cbb35d7709c57 Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Mon, 23 Oct 2023 16:57:46 -0700 Subject: [PATCH] Test #30 simplification for blackbird too --- .../deser/java8/DefaultMethodsTest.java | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/blackbird/src/test/java/com/fasterxml/jackson/module/blackbird/deser/java8/DefaultMethodsTest.java b/blackbird/src/test/java/com/fasterxml/jackson/module/blackbird/deser/java8/DefaultMethodsTest.java index 2dbc3610..2e60fb04 100644 --- a/blackbird/src/test/java/com/fasterxml/jackson/module/blackbird/deser/java8/DefaultMethodsTest.java +++ b/blackbird/src/test/java/com/fasterxml/jackson/module/blackbird/deser/java8/DefaultMethodsTest.java @@ -6,8 +6,6 @@ // for [modules-base#30] public class DefaultMethodsTest extends BlackbirdTestBase { - // NOTE: can only be enabled for Jackson 3.x - /* public interface Typed { default String getType() { return "bogus"; @@ -25,22 +23,6 @@ public void internalSet(String value) { x = value; } } - */ - - // for Jackson 2.x: - public interface Typed { - public String getType(); - public void setType(String t); - } - - static class Model implements Typed { - String x; - - @Override - public String getType() { return "bogus"; } - @Override - public void setType(String t) { x = t; } - } /* /**********************************************************************