couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1073294 - /couchdb/trunk/src/couchdb/couch_replicator_doc_copier.erl
Date Tue, 22 Feb 2011 11:00:22 GMT
Author: fdmanana
Date: Tue Feb 22 11:00:22 2011
New Revision: 1073294

URL: http://svn.apache.org/viewvc?rev=1073294&view=rev
Log:
Removed unnecessary guard

Modified:
    couchdb/trunk/src/couchdb/couch_replicator_doc_copier.erl

Modified: couchdb/trunk/src/couchdb/couch_replicator_doc_copier.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_replicator_doc_copier.erl?rev=1073294&r1=1073293&r2=1073294&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_replicator_doc_copier.erl (original)
+++ couchdb/trunk/src/couchdb/couch_replicator_doc_copier.erl Tue Feb 22 11:00:22 2011
@@ -457,7 +457,7 @@ maybe_flush_docs(#db{} = Target, Batch, 
 flush_docs(_Target, []) ->
     {0, 0};
 
-flush_docs(Target, DocList) when is_list(DocList) ->
+flush_docs(Target, DocList) ->
     {ok, Errors} = couch_api_wrap:update_docs(
         Target, DocList, [delay_commit], replicated_changes),
     DbUri = couch_api_wrap:db_uri(Target),



Mime
View raw message