avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ieme...@apache.org
Subject [avro] 02/03: Upgrade easymock test dependency to version 4.0.2
Date Wed, 26 Dec 2018 17:16:57 GMT
This is an automated email from the ASF dual-hosted git repository.

iemejia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git

commit 7182fda6eb3f4b8aa43016ac8c32692103b0cb9e
Author: Ismaël Mejía <iemejia@gmail.com>
AuthorDate: Wed Dec 5 15:51:22 2018 +0100

    Upgrade easymock test dependency to version 4.0.2
---
 .../test/java/org/apache/avro/mapreduce/TestAvroKeyOutputFormat.java    | 2 +-
 lang/java/pom.xml                                                       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lang/java/mapred/src/test/java/org/apache/avro/mapreduce/TestAvroKeyOutputFormat.java
b/lang/java/mapred/src/test/java/org/apache/avro/mapreduce/TestAvroKeyOutputFormat.java
index 270a2d3..532ebe7 100644
--- a/lang/java/mapred/src/test/java/org/apache/avro/mapreduce/TestAvroKeyOutputFormat.java
+++ b/lang/java/mapred/src/test/java/org/apache/avro/mapreduce/TestAvroKeyOutputFormat.java
@@ -140,7 +140,7 @@ public class TestAvroKeyOutputFormat {
         = createMock(AvroKeyOutputFormat.RecordWriterFactory.class);
 
     // Expect the record writer factory to be called with appropriate parameters.
-    Capture<CodecFactory> capturedCodecFactory = new Capture<>();
+    Capture<CodecFactory> capturedCodecFactory = Capture.newInstance();
     expect(recordWriterFactory.create(eq(writerSchema),
         anyObject(GenericData.class),
         capture(capturedCodecFactory),  // Capture for comparison later.
diff --git a/lang/java/pom.xml b/lang/java/pom.xml
index c29f155..25b9bf2 100644
--- a/lang/java/pom.xml
+++ b/lang/java/pom.xml
@@ -57,7 +57,7 @@
     <commons-lang.version>3.8.1</commons-lang.version>
     <commons-logging.version>1.2</commons-logging.version>
     <tukaani.version>1.6</tukaani.version>
-    <easymock.version>3.6</easymock.version>
+    <easymock.version>4.0.2</easymock.version>
     <hamcrest.version>1.3</hamcrest.version>
     <joda.version>2.10.1</joda.version>
     <grpc.version>1.16.1</grpc.version>


Mime
View raw message