diff --git a/afterburner/src/test/java/tools/jackson/module/afterburner/deser/java8/DefaultMethodsTest.java b/afterburner/src/test/java/tools/jackson/module/afterburner/deser/java8/DefaultMethodsTest.java index 4b60c863..077548e1 100644 --- a/afterburner/src/test/java/tools/jackson/module/afterburner/deser/java8/DefaultMethodsTest.java +++ b/afterburner/src/test/java/tools/jackson/module/afterburner/deser/java8/DefaultMethodsTest.java @@ -6,8 +6,7 @@ // for [modules-base#30] public class DefaultMethodsTest extends AfterburnerTestBase { - // NOTE: can only be enabled for Jackson 3.x - /* + // With Java 8 can use this: public interface Typed { default String getType() { return "bogus"; @@ -25,22 +24,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; } - } /* /**********************************************************************