You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2015/08/30 19:28:36 UTC

[03/19] lucy git commit: Remove Highlighter POD whitelist

Remove Highlighter POD whitelist


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

Branch: refs/heads/master
Commit: c198e10f3e492d18b2ba5ae2e312095f81119d6e
Parents: ebe1821
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Thu Aug 20 20:57:25 2015 +0200
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sun Aug 23 15:02:02 2015 +0200

----------------------------------------------------------------------
 perl/buildlib/Lucy/Build/Binding/Highlight.pm | 16 ----------------
 1 file changed, 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/c198e10f/perl/buildlib/Lucy/Build/Binding/Highlight.pm
----------------------------------------------------------------------
diff --git a/perl/buildlib/Lucy/Build/Binding/Highlight.pm b/perl/buildlib/Lucy/Build/Binding/Highlight.pm
index 16feaaa..7d3d8a8 100644
--- a/perl/buildlib/Lucy/Build/Binding/Highlight.pm
+++ b/perl/buildlib/Lucy/Build/Binding/Highlight.pm
@@ -45,21 +45,6 @@ END_CONSTRUCTOR
 }
 
 sub bind_highlighter {
-    my @exposed = qw(
-        Create_Excerpt
-        Highlight
-        Encode
-        Set_Pre_Tag
-        Get_Pre_Tag
-        Set_Post_Tag
-        Get_Post_Tag
-        Get_Searcher
-        Get_Query
-        Get_Compiler
-        Get_Excerpt_Length
-        Get_Field
-    );
-
     my $pod_spec = Clownfish::CFC::Binding::Perl::Pod->new;
     my $synopsis = <<'END_SYNOPSIS';
     my $highlighter = Lucy::Highlight::Highlighter->new(
@@ -83,7 +68,6 @@ END_SYNOPSIS
 END_CONSTRUCTOR
     $pod_spec->set_synopsis($synopsis);
     $pod_spec->add_constructor( alias => 'new', sample => $constructor );
-    $pod_spec->add_method( method => $_, alias => lc($_) ) for @exposed;
 
     my $binding = Clownfish::CFC::Binding::Perl::Class->new(
         parcel     => "Lucy",