crunch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwi...@apache.org
Subject crunch git commit: Small Java8 compile fix
Date Thu, 15 Jan 2015 02:11:27 GMT
Repository: crunch
Updated Branches:
  refs/heads/master 85c2642ca -> 7f00d785a


Small Java8 compile fix


Project: http://git-wip-us.apache.org/repos/asf/crunch/repo
Commit: http://git-wip-us.apache.org/repos/asf/crunch/commit/7f00d785
Tree: http://git-wip-us.apache.org/repos/asf/crunch/tree/7f00d785
Diff: http://git-wip-us.apache.org/repos/asf/crunch/diff/7f00d785

Branch: refs/heads/master
Commit: 7f00d785aa7a6f854a596f8eb4a898738c8d5977
Parents: 85c2642
Author: Josh Wills <jwills@apache.org>
Authored: Wed Jan 14 18:06:59 2015 -0800
Committer: Josh Wills <jwills@apache.org>
Committed: Wed Jan 14 18:06:59 2015 -0800

----------------------------------------------------------------------
 .../java/org/apache/crunch/io/parquet/AvroParquetFileSource.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/crunch/blob/7f00d785/crunch-core/src/main/java/org/apache/crunch/io/parquet/AvroParquetFileSource.java
----------------------------------------------------------------------
diff --git a/crunch-core/src/main/java/org/apache/crunch/io/parquet/AvroParquetFileSource.java
b/crunch-core/src/main/java/org/apache/crunch/io/parquet/AvroParquetFileSource.java
index ffca414..18b2928 100644
--- a/crunch-core/src/main/java/org/apache/crunch/io/parquet/AvroParquetFileSource.java
+++ b/crunch-core/src/main/java/org/apache/crunch/io/parquet/AvroParquetFileSource.java
@@ -200,7 +200,7 @@ public class AvroParquetFileSource<T extends IndexedRecord> extends
FileSourceIm
     }
 
     public AvroParquetFileSource<T> build(List<Path> paths) {
-      AvroType<T> at = clazz == null ? Avros.generics(baseSchema) : Avros.specifics((Class)
clazz);
+      AvroType at = clazz == null ? Avros.generics(baseSchema) : Avros.specifics((Class)
clazz);
       if (fields.isEmpty()) {
         return new AvroParquetFileSource<T>(paths, at, filterClass);
       } else {


Mime
View raw message