lightcouch / LightCouch

CouchDB Java API
www.lightcouch.org
Apache License 2.0
67 stars 70 forks source link

Add a copy constructor to the Document. #49

Closed buckett closed 8 years ago

buckett commented 8 years ago

This makes it easier to have a copy constructor in items that extend the document as you can just call the super(other) rather than having to implement it yourself.

The default constructor is still present to so you don’t have to use a copy constructor.