Skip to content

Commit

Permalink
do not restrict the toDb method to types of the dao
Browse files Browse the repository at this point in the history
  • Loading branch information
hofmeister committed Feb 9, 2013
1 parent def4ba5 commit 56d46d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public DBCollection coll() {
return collection;
}

protected BasicDBObject toDb(T doc) {
protected BasicDBObject toDb(Object doc) {
try {
return bs.convert(doc, BasicDBObject.class);
} catch (MappingException ex) {
Expand Down

0 comments on commit 56d46d2

Please sign in to comment.