You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/11/17 03:07:58 UTC

[lucy-commits] svn commit: r1203008 - in /incubator/lucy/trunk: clownfish/src/ core/Lucy/Index/ core/Lucy/Object/ core/Lucy/Store/ core/Lucy/Test/Util/ core/Lucy/Util/ perl/xs/Lucy/Index/

Author: marvin
Date: Thu Nov 17 02:07:57 2011
New Revision: 1203008

URL: http://svn.apache.org/viewvc?rev=1203008&view=rev
Log:
LUCY-145 Whitespace-only followup.

Make minor whitespace changes in the wake of the main patch for LUCY-145.

Modified:
    incubator/lucy/trunk/clownfish/src/CFCDocuComment.c
    incubator/lucy/trunk/clownfish/src/CFCVariable.c
    incubator/lucy/trunk/core/Lucy/Index/BackgroundMerger.c
    incubator/lucy/trunk/core/Lucy/Index/DocWriter.c
    incubator/lucy/trunk/core/Lucy/Index/HighlightReader.c
    incubator/lucy/trunk/core/Lucy/Index/IndexManager.c
    incubator/lucy/trunk/core/Lucy/Index/Indexer.c
    incubator/lucy/trunk/core/Lucy/Index/LexiconReader.c
    incubator/lucy/trunk/core/Lucy/Index/PolyLexicon.c
    incubator/lucy/trunk/core/Lucy/Index/PolyReader.c
    incubator/lucy/trunk/core/Lucy/Index/PostingListReader.c
    incubator/lucy/trunk/core/Lucy/Index/PostingPool.c
    incubator/lucy/trunk/core/Lucy/Index/SegLexicon.c
    incubator/lucy/trunk/core/Lucy/Index/SegWriter.c
    incubator/lucy/trunk/core/Lucy/Index/Segment.c
    incubator/lucy/trunk/core/Lucy/Object/Hash.c
    incubator/lucy/trunk/core/Lucy/Store/FSFileHandle.c
    incubator/lucy/trunk/core/Lucy/Store/Lock.c
    incubator/lucy/trunk/core/Lucy/Test/Util/TestPriorityQueue.c
    incubator/lucy/trunk/core/Lucy/Util/SortUtils.c
    incubator/lucy/trunk/core/Lucy/Util/StringHelper.c
    incubator/lucy/trunk/perl/xs/Lucy/Index/Inverter.c

Modified: incubator/lucy/trunk/clownfish/src/CFCDocuComment.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCDocuComment.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCDocuComment.c (original)
+++ incubator/lucy/trunk/clownfish/src/CFCDocuComment.c Thu Nov 17 02:07:57 2011
@@ -179,7 +179,6 @@ CFCDocuComment_parse(const char *raw_tex
         candidate = strstr(ptr, "@param");
     }
 
-
     // Extract full description.
     self->description = CFCUtil_strdup(text);
 

Modified: incubator/lucy/trunk/clownfish/src/CFCVariable.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/src/CFCVariable.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/src/CFCVariable.c (original)
+++ incubator/lucy/trunk/clownfish/src/CFCVariable.c Thu Nov 17 02:07:57 2011
@@ -80,24 +80,18 @@ CFCVariable_init(CFCVariable *self, stru
     if (CFCType_is_composite(type) && CFCType_get_array(type) != NULL) {
         postfix = CFCType_get_array(type);
     }
-
     size_t size = strlen(type_str) + sizeof(" ") + strlen(micro_sym) +
                   strlen(postfix) + 1;
     self->local_c = (char*)MALLOCATE(size);
     sprintf(self->local_c, "%s %s%s", type_str, micro_sym, postfix);
-
-
     self->local_dec = (char*)MALLOCATE(strlen(self->local_c) + sizeof(";\0"));
     sprintf(self->local_dec, "%s;", self->local_c);
-
-
     const char *full_sym = CFCVariable_full_sym(self);
     size_t full_size = strlen(type_str) + sizeof(" ") + strlen(full_sym) +
                   strlen(postfix) + 1;
     self->global_c = (char*)MALLOCATE(full_size);
     sprintf(self->global_c, "%s %s%s", type_str, full_sym, postfix);
 
-
     return self;
 }
 

Modified: incubator/lucy/trunk/core/Lucy/Index/BackgroundMerger.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/BackgroundMerger.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/BackgroundMerger.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/BackgroundMerger.c Thu Nov 17 02:07:57 2011
@@ -115,15 +115,12 @@ BGMerger_init(BackgroundMerger *self, Ob
     self->polyreader = PolyReader_open((Obj*)folder, NULL, self->manager);
 
     // Clone the PolyReader's schema.
-
     Hash *dump = Schema_Dump(PolyReader_Get_Schema(self->polyreader));
     self->schema = (Schema*)CERTIFY(VTable_Load_Obj(SCHEMA, (Obj*)dump),
                                     SCHEMA);
     DECREF(dump);
 
-
     // Create new Segment.
-
     int64_t new_seg_num
         = IxManager_Highest_Seg_Num(self->manager, self->snapshot) + 1;
     VArray *fields = Schema_All_Fields(self->schema);
@@ -134,7 +131,6 @@ BGMerger_init(BackgroundMerger *self, Ob
     }
     DECREF(fields);
 
-
     // Our "cutoff" is the segment this BackgroundMerger will write.  Now that
     // we've determined the cutoff, write the merge data file.
     self->cutoff = Seg_Get_Number(self->segment);
@@ -254,7 +250,6 @@ static bool_t
 S_merge_updated_deletions(BackgroundMerger *self) {
     Hash *updated_deletions = NULL;
 
-
     PolyReader *new_polyreader
         = PolyReader_open((Obj*)self->folder, NULL, NULL);
     VArray *new_seg_readers
@@ -300,7 +295,6 @@ S_merge_updated_deletions(BackgroundMerg
     DECREF(new_polyreader);
     DECREF(new_segs);
 
-
     if (!updated_deletions) {
         return false;
     }
@@ -445,7 +439,6 @@ BGMerger_prepare_commit(BackgroundMerger
             // Add the fresh content to our snapshot. (It's important to
             // run this AFTER S_merge_updated_deletions, because otherwise
             // we couldn't tell whether the deletion counts changed.)
-
             VArray *files = Snapshot_List(latest_snapshot);
             uint32_t i, max;
             for (i = 0, max = VA_Get_Size(files); i < max; i++) {
@@ -459,16 +452,13 @@ BGMerger_prepare_commit(BackgroundMerger
             }
             DECREF(files);
 
-
-            // Since the snapshot content has changed, we need to rewrite
-            // it.
+            // Since the snapshot content has changed, we need to rewrite it.
             Folder_Delete(folder, self->snapfile);
             Snapshot_Write_File(snapshot, folder, self->snapfile);
         }
 
         DECREF(latest_snapshot);
 
-
         self->needs_commit = true;
     }
 

Modified: incubator/lucy/trunk/core/Lucy/Index/DocWriter.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/DocWriter.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/DocWriter.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/DocWriter.c Thu Nov 17 02:07:57 2011
@@ -63,19 +63,15 @@ S_lazy_init(DocWriter *self) {
         CharBuf *seg_name = Seg_Get_Name(self->segment);
 
         // Get streams.
-
         CharBuf *ix_file = CB_newf("%o/documents.ix", seg_name);
         self->ix_out = Folder_Open_Out(folder, ix_file);
         DECREF(ix_file);
         if (!self->ix_out) { RETHROW(INCREF(Err_get_error())); }
-
-
         CharBuf *dat_file = CB_newf("%o/documents.dat", seg_name);
         self->dat_out = Folder_Open_Out(folder, dat_file);
         DECREF(dat_file);
         if (!self->dat_out) { RETHROW(INCREF(Err_get_error())); }
 
-
         // Go past non-doc #0.
         OutStream_Write_I64(self->ix_out, 0);
     }

Modified: incubator/lucy/trunk/core/Lucy/Index/HighlightReader.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/HighlightReader.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/HighlightReader.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/HighlightReader.c Thu Nov 17 02:07:57 2011
@@ -134,7 +134,6 @@ DefHLReader_init(DefaultHighlightReader 
         }
     }
 
-
     // Open instreams.
     CharBuf *seg_name = Seg_Get_Name(segment);
     CharBuf *ix_file  = CB_newf("%o/highlight.ix", seg_name);

Modified: incubator/lucy/trunk/core/Lucy/Index/IndexManager.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/IndexManager.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/IndexManager.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/IndexManager.c Thu Nov 17 02:07:57 2011
@@ -103,7 +103,6 @@ IxManager_make_snapshot_filename(IndexMa
     char  base36[StrHelp_MAX_BASE36_BYTES];
     StrHelp_to_base36(new_gen, &base36);
     return CB_newf("snapshot_%s.json", &base36);
-
 }
 
 static int

Modified: incubator/lucy/trunk/core/Lucy/Index/Indexer.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Indexer.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Indexer.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Indexer.c Thu Nov 17 02:07:57 2011
@@ -168,14 +168,11 @@ Indexer_init(Indexer *self, Schema *sche
     FilePurger_Purge(file_purger);
     DECREF(file_purger);
 
-
     // Create a new segment.
-
     int64_t new_seg_num
         = IxManager_Highest_Seg_Num(self->manager, latest_snapshot) + 1;
     Lock *merge_lock = IxManager_Make_Merge_Lock(self->manager);
     uint32_t i, max;
-
     if (Lock_Is_Locked(merge_lock)) {
         // If there's a background merge process going on, stay out of its
         // way.
@@ -196,11 +193,9 @@ Indexer_init(Indexer *self, Schema *sche
         }
         DECREF(merge_data);
     }
-
     self->segment = Seg_new(new_seg_num);
 
     // Add all known fields to Segment.
-
     VArray *fields = Schema_All_Fields(schema);
     for (i = 0, max = VA_Get_Size(fields); i < max; i++) {
         Seg_Add_Field(self->segment, (CharBuf*)VA_Fetch(fields, i));
@@ -291,7 +286,6 @@ Indexer_delete_by_term(Indexer *self, Ch
     // Analyze term if appropriate, then zap.
     if (FType_Is_A(type, FULLTEXTTYPE)) {
         CERTIFY(term, CHARBUF);
-
         Analyzer *analyzer = Schema_Fetch_Analyzer(schema, field);
         VArray *terms = Analyzer_Split(analyzer, (CharBuf*)term);
         Obj *analyzed_term = VA_Fetch(terms, 0);

Modified: incubator/lucy/trunk/core/Lucy/Index/LexiconReader.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/LexiconReader.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/LexiconReader.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/LexiconReader.c Thu Nov 17 02:07:57 2011
@@ -221,7 +221,6 @@ S_find_tinfo(DefaultLexiconReader *self,
             if (found && Obj_Equals(target, found)) {
                 return SegLex_Get_Term_Info(lexicon);
             }
-
         }
     }
     return NULL;

Modified: incubator/lucy/trunk/core/Lucy/Index/PolyLexicon.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/PolyLexicon.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/PolyLexicon.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/PolyLexicon.c Thu Nov 17 02:07:57 2011
@@ -166,7 +166,6 @@ PolyLex_seek(PolyLexicon *self, Obj *tar
 
     // Refresh the queue, set vars.
     S_refresh_lex_q(lex_q, seg_lexicons, target);
-
     SegLexicon *least = (SegLexicon*)SegLexQ_Peek(lex_q);
     DECREF(self->term);
     self->term = NULL;

Modified: incubator/lucy/trunk/core/Lucy/Index/PolyReader.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/PolyReader.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/PolyReader.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/PolyReader.c Thu Nov 17 02:07:57 2011
@@ -107,9 +107,8 @@ S_init_sub_readers(PolyReader *self, VAr
     VArray  *readers;
     Hash_Iterate(data_readers);
     while (Hash_Next(data_readers, (Obj**)&api, (Obj**)&readers)) {
-        DataReader *datareader = (DataReader*)CERTIFY(
-                                     S_first_non_null(readers),
-                                     DATAREADER);
+        DataReader *datareader
+            = (DataReader*)CERTIFY(S_first_non_null(readers), DATAREADER);
         DataReader *aggregator
             = DataReader_Aggregator(datareader, readers, self->offsets);
         if (aggregator) {
@@ -117,14 +116,12 @@ S_init_sub_readers(PolyReader *self, VAr
             Hash_Store(self->components, (Obj*)api, (Obj*)aggregator);
         }
     }
-
     DECREF(data_readers);
 
     DeletionsReader *del_reader
         = (DeletionsReader*)Hash_Fetch(
               self->components, (Obj*)VTable_Get_Name(DELETIONSREADER));
     self->del_count = del_reader ? DelReader_Del_Count(del_reader) : 0;
-
 }
 
 PolyReader*
@@ -349,7 +346,6 @@ PolyReader_do_open(PolyReader *self, Obj
          * failed to open something, see if we can find a newer snapshot file.
          * If we can, then the exception was due to the race condition.  If
          * not, we have a real exception, so throw an error. */
-
         Obj *result = S_try_open_elements(self);
         if (Obj_Is_A(result, CHARBUF)) { // Error occurred.
             S_release_read_lock(self);

Modified: incubator/lucy/trunk/core/Lucy/Index/PostingListReader.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/PostingListReader.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/PostingListReader.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/PostingListReader.c Thu Nov 17 02:07:57 2011
@@ -72,8 +72,7 @@ DefPListReader_init(DefaultPostingListRe
     // Check format.
     Hash *my_meta = (Hash*)Seg_Fetch_Metadata_Str(segment, "postings", 8);
     if (!my_meta) {
-        my_meta = (Hash*)Seg_Fetch_Metadata_Str(segment,
-                                                "posting_list", 12);
+        my_meta = (Hash*)Seg_Fetch_Metadata_Str(segment, "posting_list", 12);
     }
 
     if (my_meta) {
@@ -87,7 +86,6 @@ DefPListReader_init(DefaultPostingListRe
         }
     }
 
-
     return self;
 }
 

Modified: incubator/lucy/trunk/core/Lucy/Index/PostingPool.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/PostingPool.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/PostingPool.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/PostingPool.c Thu Nov 17 02:07:57 2011
@@ -494,7 +494,6 @@ PostPool_refill(PostingPool *self) {
                 if (term_text && !Obj_Is_A((Obj*)term_text, CHARBUF)) {
                     THROW(ERR, "Only CharBuf terms are supported for now");
                 }
-
                 Posting *posting = PList_Get_Posting(plist);
                 Post_Set_Doc_ID(posting, doc_base);
                 self->last_doc_id = doc_base;

Modified: incubator/lucy/trunk/core/Lucy/Index/SegLexicon.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/SegLexicon.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/SegLexicon.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/SegLexicon.c Thu Nov 17 02:07:57 2011
@@ -124,7 +124,6 @@ SegLex_seek(SegLexicon *self, Obj *targe
 
     // Use the LexIndex to get in the ballpark.
     LexIndex_Seek(lex_index, target);
-
     TermInfo *target_tinfo = LexIndex_Get_Term_Info(lex_index);
     TermInfo *my_tinfo
         = (TermInfo*)TermStepper_Get_Value(self->tinfo_stepper);
@@ -133,7 +132,6 @@ SegLex_seek(SegLexicon *self, Obj *targe
     TermStepper_Set_Value(self->term_stepper, lex_index_term);
     DECREF(lex_index_term);
     InStream_Seek(self->instream, TInfo_Get_Lex_FilePos(target_tinfo));
-
     self->term_num = LexIndex_Get_Term_Num(lex_index);
 
     // Scan to the precise location.

Modified: incubator/lucy/trunk/core/Lucy/Index/SegWriter.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/SegWriter.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/SegWriter.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/SegWriter.c Thu Nov 17 02:07:57 2011
@@ -201,7 +201,6 @@ SegWriter_finish(SegWriter *self) {
     Snapshot_Add_Entry(snapshot, seg_name);
     DECREF(segmeta_filename);
 
-
     // Collapse segment files into compound file.
     Folder_Consolidate(self->folder, seg_name);
 }

Modified: incubator/lucy/trunk/core/Lucy/Index/Segment.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Index/Segment.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Index/Segment.c (original)
+++ incubator/lucy/trunk/core/Lucy/Index/Segment.c Thu Nov 17 02:07:57 2011
@@ -107,7 +107,6 @@ Seg_read_file(Segment *self, Folder *fol
     if (!count) { THROW(ERR, "Missing 'count'"); }
     else { self->count = Obj_To_I64(count); }
 
-
     // Get list of field nums.
     uint32_t i;
     VArray *source_by_num = (VArray*)Hash_Fetch_Str(my_metadata,
@@ -145,11 +144,9 @@ Seg_write_file(Segment *self, Folder *fo
     Hash_Store_Str(self->metadata, "segmeta", 7, (Obj*)my_metadata);
 
     CharBuf *filename = CB_newf("%o/segmeta.json", self->name);
-    bool_t result
-        = Json_spew_json((Obj*)self->metadata, folder, filename);
+    bool_t result = Json_spew_json((Obj*)self->metadata, folder, filename);
     DECREF(filename);
     if (!result) { RETHROW(INCREF(Err_get_error())); }
-
 }
 
 int32_t

Modified: incubator/lucy/trunk/core/Lucy/Object/Hash.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Object/Hash.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Object/Hash.c (original)
+++ incubator/lucy/trunk/core/Lucy/Object/Hash.c Thu Nov 17 02:07:57 2011
@@ -157,7 +157,6 @@ Hash_load(Hash *self, Obj *dump) {
     Hash *loaded = Hash_new(source->size);
     Obj *key;
     Obj *value;
-
     Hash_Iterate(source);
     while (Hash_Next(source, &key, &value)) {
         Hash_Store(loaded, key, Obj_Load(value, value));

Modified: incubator/lucy/trunk/core/Lucy/Store/FSFileHandle.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Store/FSFileHandle.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Store/FSFileHandle.c (original)
+++ incubator/lucy/trunk/core/Lucy/Store/FSFileHandle.c Thu Nov 17 02:07:57 2011
@@ -289,14 +289,12 @@ SI_window(FSFileHandle *self, FileWindow
     const int64_t remainder       = offset % self->page_size;
     const int64_t adjusted_offset = offset - remainder;
     const int64_t adjusted_len    = len + remainder;
-    char *const buf
-        = (char*)SI_map(self, adjusted_offset, adjusted_len);
+    char *const buf = (char*)SI_map(self, adjusted_offset, adjusted_len);
     if (len && buf == NULL) {
         return false;
     }
     else {
-        FileWindow_Set_Window(window, buf, adjusted_offset,
-                              adjusted_len);
+        FileWindow_Set_Window(window, buf, adjusted_offset, adjusted_len);
     }
 
     return true;

Modified: incubator/lucy/trunk/core/Lucy/Store/Lock.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Store/Lock.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Store/Lock.c (original)
+++ incubator/lucy/trunk/core/Lucy/Store/Lock.c Thu Nov 17 02:07:57 2011
@@ -48,8 +48,7 @@ Lock_init(Lock *self, Folder *folder, co
             continue;
         }
         DECREF(self);
-        THROW(ERR, "Lock name contains disallowed characters: '%o'",
-              name);
+        THROW(ERR, "Lock name contains disallowed characters: '%o'", name);
     }
 
     // Assign.

Modified: incubator/lucy/trunk/core/Lucy/Test/Util/TestPriorityQueue.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Test/Util/TestPriorityQueue.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Test/Util/TestPriorityQueue.c (original)
+++ incubator/lucy/trunk/core/Lucy/Test/Util/TestPriorityQueue.c Thu Nov 17 02:07:57 2011
@@ -66,7 +66,6 @@ test_Peek_and_Pop_All(TestBatch *batch) 
                 "peek at the least item in the queue");
 
     VArray  *got = NumPriQ_Pop_All(pq);
-
     val = (Float64*)CERTIFY(VA_Fetch(got, 0), FLOAT64);
     TEST_INT_EQ(batch, (long)Float64_Get_Value(val), 20, "pop_all");
     val = (Float64*)CERTIFY(VA_Fetch(got, 1), FLOAT64);
@@ -79,7 +78,6 @@ test_Peek_and_Pop_All(TestBatch *batch) 
     TEST_INT_EQ(batch, (long)Float64_Get_Value(val),  1, "pop_all");
 
     DECREF(got);
-
     DECREF(pq);
 }
 

Modified: incubator/lucy/trunk/core/Lucy/Util/SortUtils.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Util/SortUtils.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Util/SortUtils.c (original)
+++ incubator/lucy/trunk/core/Lucy/Util/SortUtils.c Thu Nov 17 02:07:57 2011
@@ -349,7 +349,6 @@ S_qsort4(FOUR_BYTE_TYPE *elems, int32_t 
     for (k = left; k < p; k++, j--)      { SI_exchange4(elems, k, j); }
     for (k = right - 1; k > q; k--, i++) { SI_exchange4(elems, i, k); }
 
-
     // Recurse.
     S_qsort4(elems, left, j, compare, context);   // Sort less_than.
     S_qsort4(elems, i, right, compare, context);  // Sort greater_than.
@@ -455,7 +454,6 @@ S_qsort8(EIGHT_BYTE_TYPE *elems, int32_t
     for (k = left; k < p; k++, j--)      { SI_exchange8(elems, k, j); }
     for (k = right - 1; k > q; k--, i++) { SI_exchange8(elems, i, k); }
 
-
     // Recurse.
     S_qsort8(elems, left, j, compare, context);   // Sort less_than.
     S_qsort8(elems, i, right, compare, context);  // Sort greater_than.

Modified: incubator/lucy/trunk/core/Lucy/Util/StringHelper.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Util/StringHelper.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Util/StringHelper.c (original)
+++ incubator/lucy/trunk/core/Lucy/Util/StringHelper.c Thu Nov 17 02:07:57 2011
@@ -74,7 +74,6 @@ StrHelp_to_base36(uint64_t num, void *bu
     uint32_t size = end - buf;
     memcpy(buffer, buf, size + 1);
     return size;
-
 }
 
 bool_t

Modified: incubator/lucy/trunk/perl/xs/Lucy/Index/Inverter.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/perl/xs/Lucy/Index/Inverter.c?rev=1203008&r1=1203007&r2=1203008&view=diff
==============================================================================
--- incubator/lucy/trunk/perl/xs/Lucy/Index/Inverter.c (original)
+++ incubator/lucy/trunk/perl/xs/Lucy/Index/Inverter.c Thu Nov 17 02:07:57 2011
@@ -71,8 +71,7 @@ S_fetch_entry(lucy_Inverter *self, HE *h
     lucy_InverterEntry *entry
         = (lucy_InverterEntry*)Lucy_VA_Fetch(self->entry_pool, field_num);
     if (!entry) {
-        entry = lucy_InvEntry_new(schema, (lucy_CharBuf*)field,
-                                  field_num);
+        entry = lucy_InvEntry_new(schema, (lucy_CharBuf*)field, field_num);
         Lucy_VA_Store(self->entry_pool, field_num, (lucy_Obj*)entry);
     }
     return entry;