parquet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject incubator-parquet-mr git commit: PARQUET-187: Replace JavaConversions.asJavaList with JavaConversions.seqAsJavaList
Date Wed, 04 Mar 2015 20:49:52 GMT
Repository: incubator-parquet-mr
Updated Branches:
  refs/heads/master 36a02dc54 -> fa8957d79


PARQUET-187: Replace JavaConversions.asJavaList with JavaConversions.seqAsJavaList

The former was removed in 2.11, but the latter exists in 2.9, 2.10 and 2.11. With this change,
I can build on 2.11 without any issue.

Author: Colin Marc <colinmarc@gmail.com>

Closes #121 from colinmarc/build-211 and squashes the following commits:

8a29319 [Colin Marc] Replace JavaConversions.asJavaList with JavaConversions.seqAsJavaList.


Project: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/commit/fa8957d7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/tree/fa8957d7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/diff/fa8957d7

Branch: refs/heads/master
Commit: fa8957d7939b59e8d391fa17000b34e865de015d
Parents: 36a02dc
Author: Colin Marc <colinmarc@gmail.com>
Authored: Wed Mar 4 12:49:50 2015 -0800
Committer: Ryan Blue <blue@apache.org>
Committed: Wed Mar 4 12:49:50 2015 -0800

----------------------------------------------------------------------
 .../src/main/java/parquet/scrooge/ScroogeStructConverter.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-parquet-mr/blob/fa8957d7/parquet-scrooge/src/main/java/parquet/scrooge/ScroogeStructConverter.java
----------------------------------------------------------------------
diff --git a/parquet-scrooge/src/main/java/parquet/scrooge/ScroogeStructConverter.java b/parquet-scrooge/src/main/java/parquet/scrooge/ScroogeStructConverter.java
index 8293bc6..22bbf6a 100644
--- a/parquet-scrooge/src/main/java/parquet/scrooge/ScroogeStructConverter.java
+++ b/parquet-scrooge/src/main/java/parquet/scrooge/ScroogeStructConverter.java
@@ -286,7 +286,7 @@ public class ScroogeStructConverter {
     Object cObject = companionObjectClass.getField("MODULE$").get(null);
     Method listMethod = companionObjectClass.getMethod("list", new Class[]{});
     Object result = listMethod.invoke(cObject, null);
-    return JavaConversions.asJavaList((Seq)result);
+    return JavaConversions.seqAsJavaList((Seq)result);
   }
 
   public ThriftType convertEnumTypeField(ThriftStructFieldInfo f) {


Mime
View raw message