gobblin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [64/77] [abbrv] incubator-gobblin git commit: Update ClassAliasResolver to resolve for more packages
Date Mon, 31 Jul 2017 07:53:22 GMT
Update ClassAliasResolver to resolve for more packages


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

Branch: refs/heads/master
Commit: d7648f18297aadac61578f3fabe405fd5053ec71
Parents: 92e1276
Author: Abhishek Tiwari <abhishektiwari.btech@gmail.com>
Authored: Sun Jul 30 20:07:15 2017 -0700
Committer: Abhishek Tiwari <abhishektiwari.btech@gmail.com>
Committed: Sun Jul 30 20:07:15 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/gobblin/util/ClassAliasResolver.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gobblin/blob/d7648f18/gobblin-api/src/main/java/org/apache/gobblin/util/ClassAliasResolver.java
----------------------------------------------------------------------
diff --git a/gobblin-api/src/main/java/org/apache/gobblin/util/ClassAliasResolver.java b/gobblin-api/src/main/java/org/apache/gobblin/util/ClassAliasResolver.java
index c7663d2..a255795 100644
--- a/gobblin-api/src/main/java/org/apache/gobblin/util/ClassAliasResolver.java
+++ b/gobblin-api/src/main/java/org/apache/gobblin/util/ClassAliasResolver.java
@@ -54,7 +54,7 @@ public class ClassAliasResolver<T> {
   // Scan all packages in the classpath with prefix gobblin, com.linkedin.gobblin when class
is loaded.
   // Since scan is expensive we do it only once when class is loaded.
   private static final Reflections REFLECTIONS = new Reflections(new ConfigurationBuilder().forPackages("gobblin",
-      "com.linkedin.gobblin"));
+      "com.linkedin.gobblin", "org.apache.gobblin"));
 
   Map<String, Class<? extends T>> aliasToClassCache;
   private final List<Alias> aliasObjects;


Mime
View raw message