Skip to content

Commit 4a13ca9

Browse files
committed
remove extra import
1 parent 76b027a commit 4a13ca9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/test/java/tools/jackson/databind/deser/enums/EnumDefaultReadTest.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
package tools.jackson.databind.deser.enums;
22

3-
import java.io.IOException;
4-
import java.util.EnumSet;
5-
63
import org.junit.jupiter.api.Test;
74

85
import com.fasterxml.jackson.annotation.*;
@@ -83,6 +80,7 @@ enum MixinOverloadedDefault {
8380
B,
8481
// Let's leave one un-annotated:
8582
C,
83+
@JsonEnumDefaultValue
8684
Z;
8785
}
8886

@@ -271,14 +269,14 @@ public void testEmptyStringAsDefault() throws Exception
271269

272270
private <T> void _verifyOkDeserialization(ObjectReader reader, String fromValue,
273271
Class<T> toValueType, T expValue)
274-
throws IOException
272+
throws Exception
275273
{
276274
assertEquals(expValue, reader.forType(toValueType).readValue(q(fromValue)));
277275
}
278276

279277
private <T> void _verifyFailingDeserialization(final ObjectReader reader,
280278
final String fromValue, final Class<T> toValueType)
281-
throws IOException
279+
throws Exception
282280
{
283281
try {
284282
reader.forType(toValueType).readValue(q(fromValue));

0 commit comments

Comments
 (0)