diff --git a/lang/java/compiler/src/test/java/org/apache/avro/compiler/specific/TestSpecificCompiler.java b/lang/java/compiler/src/test/java/org/apache/avro/compiler/specific/TestSpecificCompiler.java index 07328d30031..35d53b5243d 100644 --- a/lang/java/compiler/src/test/java/org/apache/avro/compiler/specific/TestSpecificCompiler.java +++ b/lang/java/compiler/src/test/java/org/apache/avro/compiler/specific/TestSpecificCompiler.java @@ -470,7 +470,7 @@ public void testNullableTypesJavaUnbox() throws Exception { @Test public void testLogicalTypesWithMultipleFields() throws Exception { Schema logicalTypesWithMultipleFields = new Schema.Parser().parse( - new File("src/test/resources/simple_record.avsc")); + new File("src/test/resources/logical_types_with_multiple_fields.avsc")); assertCompilesWithJavaCompiler( new SpecificCompiler(logicalTypesWithMultipleFields).compile()); } diff --git a/lang/java/ipc/src/test/java/org/apache/avro/specific/TestSpecificRecordBuilder.java b/lang/java/ipc/src/test/java/org/apache/avro/specific/TestSpecificRecordBuilder.java index 73057571f31..bae1ddabc1a 100644 --- a/lang/java/ipc/src/test/java/org/apache/avro/specific/TestSpecificRecordBuilder.java +++ b/lang/java/ipc/src/test/java/org/apache/avro/specific/TestSpecificRecordBuilder.java @@ -23,8 +23,6 @@ import java.util.Collections; import java.util.List; -import junit.framework.Assert; - import org.apache.avro.AvroRuntimeException; import org.apache.avro.Foo; import org.apache.avro.Interop; @@ -34,6 +32,7 @@ import org.apache.avro.ipc.specific.PageView; import org.apache.avro.ipc.specific.Person; import org.apache.avro.ipc.specific.ProductPage; +import org.junit.Assert; import org.junit.Ignore; import org.junit.Test;