incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [3/3] git commit: Fixing the reflection logic in the construction of an alernate implementation.
Date Wed, 12 Mar 2014 02:09:01 GMT
Fixing the reflection logic in the construction of an alernate implementation.


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

Branch: refs/heads/apache-blur-0.2
Commit: 61480125dee51c469a4921004f6daf590410bca6
Parents: 4faf00c
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Mar 11 20:47:15 2014 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Mar 11 20:47:15 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/lucene/fst/ByteArrayFactory.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/61480125/blur-store/src/main/java/org/apache/blur/lucene/fst/ByteArrayFactory.java
----------------------------------------------------------------------
diff --git a/blur-store/src/main/java/org/apache/blur/lucene/fst/ByteArrayFactory.java b/blur-store/src/main/java/org/apache/blur/lucene/fst/ByteArrayFactory.java
index 9bdb745..ca298b8 100644
--- a/blur-store/src/main/java/org/apache/blur/lucene/fst/ByteArrayFactory.java
+++ b/blur-store/src/main/java/org/apache/blur/lucene/fst/ByteArrayFactory.java
@@ -49,7 +49,7 @@ public abstract class ByteArrayFactory {
       if (!(className == null || className.isEmpty())) {
         Class<?> clazz = Class.forName(className);
         Constructor<?> constructor = clazz.getConstructor(new Class[] { BlurConfiguration.class
});
-        factory = (ByteArrayFactory) constructor.newInstance(new Object[] { constructor });
+        factory = (ByteArrayFactory) constructor.newInstance(new Object[] { configuration
});
       }
     } catch (Exception e) {
       LOG.error("Error while trying create new bytearray factory for lucene bytestore.",
e);


Mime
View raw message