Skip to content

Commit

Permalink
Test #30 simplification for blackbird too
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 23, 2023
1 parent 1449cfc commit af6f4c0
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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; }
}

/*
/**********************************************************************
Expand Down

0 comments on commit af6f4c0

Please sign in to comment.