Make DataWriter_Add_Inverted_Doc private The Inverter parameter isn't public.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/06b46a0d Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/06b46a0d Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/06b46a0d Branch: refs/heads/master Commit: 06b46a0dff6aaf224b6a2afe25181caefcfbc0c4 Parents: 04f1edf Author: Nick Wellnhofer <wellnho...@aevum.de> Authored: Sun Aug 23 15:46:47 2015 +0200 Committer: Nick Wellnhofer <wellnho...@aevum.de> Committed: Tue Aug 25 12:45:53 2015 +0200 ---------------------------------------------------------------------- core/Lucy/Index/DataWriter.cfh | 2 +- core/Lucy/Index/DocWriter.cfh | 2 +- core/Lucy/Index/HighlightWriter.cfh | 2 +- core/Lucy/Index/PostingListWriter.cfh | 2 +- core/Lucy/Index/SegWriter.cfh | 6 +++--- core/Lucy/Index/SortWriter.cfh | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/06b46a0d/core/Lucy/Index/DataWriter.cfh ---------------------------------------------------------------------- diff --git a/core/Lucy/Index/DataWriter.cfh b/core/Lucy/Index/DataWriter.cfh index 9f2f694..eb7f220 100644 --- a/core/Lucy/Index/DataWriter.cfh +++ b/core/Lucy/Index/DataWriter.cfh @@ -53,7 +53,7 @@ public class Lucy::Index::DataWriter inherits Clownfish::Obj { * @param doc_id Internal number assigned to this document within the * segment. */ - public abstract void + abstract void Add_Inverted_Doc(DataWriter *self, Inverter *inverter, int32_t doc_id); /** Add content from an existing segment into the one currently being http://git-wip-us.apache.org/repos/asf/lucy/blob/06b46a0d/core/Lucy/Index/DocWriter.cfh ---------------------------------------------------------------------- diff --git a/core/Lucy/Index/DocWriter.cfh b/core/Lucy/Index/DocWriter.cfh index a3548b0..bffd717 100644 --- a/core/Lucy/Index/DocWriter.cfh +++ b/core/Lucy/Index/DocWriter.cfh @@ -35,7 +35,7 @@ class Lucy::Index::DocWriter inherits Lucy::Index::DataWriter { init(DocWriter *self, Schema *schema, Snapshot *snapshot, Segment *segment, PolyReader *polyreader); - public void + void Add_Inverted_Doc(DocWriter *self, Inverter *inverter, int32_t doc_id); public void http://git-wip-us.apache.org/repos/asf/lucy/blob/06b46a0d/core/Lucy/Index/HighlightWriter.cfh ---------------------------------------------------------------------- diff --git a/core/Lucy/Index/HighlightWriter.cfh b/core/Lucy/Index/HighlightWriter.cfh index 00619aa..3fa2fd7 100644 --- a/core/Lucy/Index/HighlightWriter.cfh +++ b/core/Lucy/Index/HighlightWriter.cfh @@ -38,7 +38,7 @@ class Lucy::Index::HighlightWriter nickname HLWriter incremented Blob* TV_Buf(HighlightWriter *self, Inversion *inversion); - public void + void Add_Inverted_Doc(HighlightWriter *self, Inverter *inverter, int32_t doc_id); public void http://git-wip-us.apache.org/repos/asf/lucy/blob/06b46a0d/core/Lucy/Index/PostingListWriter.cfh ---------------------------------------------------------------------- diff --git a/core/Lucy/Index/PostingListWriter.cfh b/core/Lucy/Index/PostingListWriter.cfh index 76339e0..5dd0591 100644 --- a/core/Lucy/Index/PostingListWriter.cfh +++ b/core/Lucy/Index/PostingListWriter.cfh @@ -47,7 +47,7 @@ class Lucy::Index::PostingListWriter nickname PListWriter inert void set_default_mem_thresh(size_t mem_thresh); - public void + void Add_Inverted_Doc(PostingListWriter *self, Inverter *inverter, int32_t doc_id); http://git-wip-us.apache.org/repos/asf/lucy/blob/06b46a0d/core/Lucy/Index/SegWriter.cfh ---------------------------------------------------------------------- diff --git a/core/Lucy/Index/SegWriter.cfh b/core/Lucy/Index/SegWriter.cfh index 0d6629d..db7a1a8 100644 --- a/core/Lucy/Index/SegWriter.cfh +++ b/core/Lucy/Index/SegWriter.cfh @@ -28,7 +28,7 @@ parcel Lucy; * The sub-components of a SegWriter are determined by * [](cfish:Architecture). DataWriter components * which are added to the stack of writers via [](cfish:.Add_Writer) have - * [](cfish:.Add_Inverted_Doc) invoked for each document supplied to SegWriter's + * Add_Inverted_Doc() invoked for each document supplied to SegWriter's * [](cfish:.Add_Doc). */ public class Lucy::Index::SegWriter inherits Lucy::Index::DataWriter { @@ -89,7 +89,7 @@ public class Lucy::Index::SegWriter inherits Lucy::Index::DataWriter { Prep_Seg_Dir(SegWriter *self); /** Add a document to the segment. Inverts `doc`, increments - * the Segment's internal document id, then calls [](cfish:.Add_Inverted_Doc), + * the Segment's internal document id, then calls Add_Inverted_Doc(), * feeding all sub-writers. */ public void @@ -103,7 +103,7 @@ public class Lucy::Index::SegWriter inherits Lucy::Index::DataWriter { DeletionsWriter* Get_Del_Writer(SegWriter *self); - public void + void Add_Inverted_Doc(SegWriter *self, Inverter *inverter, int32_t doc_id); public void http://git-wip-us.apache.org/repos/asf/lucy/blob/06b46a0d/core/Lucy/Index/SortWriter.cfh ---------------------------------------------------------------------- diff --git a/core/Lucy/Index/SortWriter.cfh b/core/Lucy/Index/SortWriter.cfh index 6067233..52296b2 100644 --- a/core/Lucy/Index/SortWriter.cfh +++ b/core/Lucy/Index/SortWriter.cfh @@ -53,7 +53,7 @@ class Lucy::Index::SortWriter inherits Lucy::Index::DataWriter { inert void set_default_mem_thresh(size_t mem_thresh); - public void + void Add_Inverted_Doc(SortWriter *self, Inverter *inverter, int32_t doc_id); public void