Permalink
Browse files

Changed Copy to use ICouchDocument to improve decoupling.

  • Loading branch information...
1 parent a83e8b6 commit 8329f9fc56230f47fc26b03c368603e1118f3baf Sebastian Negomireanu committed Nov 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/CouchDatabase.cs
View
2 src/CouchDatabase.cs
@@ -854,7 +854,7 @@ public void Copy(string sourceDocumentId, string destinationDocumentId, string d
/// <param name="sourceDocument">The source document.</param>
/// <param name="destinationDocument">The destination document.</param>
/// <remarks>This method does not update the destinationDocument object.</remarks>
- public void Copy(CouchDocument sourceDocument, CouchDocument destinationDocument)
+ public void Copy(ICouchDocument sourceDocument, ICouchDocument destinationDocument)
{
Copy(sourceDocument.Id, destinationDocument.Id, destinationDocument.Rev);
}

0 comments on commit 8329f9f

Please sign in to comment.