Repository: lucy
Updated Branches:
  refs/heads/master 85ca41bec -> d14281228


Fix EasyAnalyzer_new default

Lucy::Analyzer::EasyAnalyzer->new segfaulted without arguments.


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

Branch: refs/heads/master
Commit: d14281228c3368386c3d98e211687ead916cee1c
Parents: 85ca41b
Author: Nick Wellnhofer <wellnho...@aevum.de>
Authored: Sat Feb 18 00:58:02 2017 +0100
Committer: Nick Wellnhofer <wellnho...@aevum.de>
Committed: Sat Feb 18 00:58:02 2017 +0100

----------------------------------------------------------------------
 core/Lucy/Analysis/EasyAnalyzer.cfh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/d1428122/core/Lucy/Analysis/EasyAnalyzer.cfh
----------------------------------------------------------------------
diff --git a/core/Lucy/Analysis/EasyAnalyzer.cfh 
b/core/Lucy/Analysis/EasyAnalyzer.cfh
index 95ad32e..d735c57 100644
--- a/core/Lucy/Analysis/EasyAnalyzer.cfh
+++ b/core/Lucy/Analysis/EasyAnalyzer.cfh
@@ -53,14 +53,14 @@ public class Lucy::Analysis::EasyAnalyzer inherits 
Lucy::Analysis::Analyzer {
      * @param language An ISO code from the list of supported languages.
      */
     public inert incremented EasyAnalyzer*
-    new(String *language = NULL);
+    new(String *language);
 
     /** Initialize an EasyAnalyzer.
      *
      * @param language An ISO code from the list of supported languages.
      */
     public inert EasyAnalyzer*
-    init(EasyAnalyzer *self, String *language = NULL);
+    init(EasyAnalyzer *self, String *language);
 
     public incremented Inversion*
     Transform(EasyAnalyzer *self, Inversion *inversion);

Reply via email to