Toggle navigation
Home
com.mongodb.DBObject to org.bson.Document
No. of Instances - 32
No. of Commits - 5
No. of Projects - {'AxonFramework', 'drill', 'camel'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: External -> External
Mapping:
Add or Remove Method invocation
entry.asDBObject(eventConfiguration())
to
entry.asDocument(eventConfiguration())
new CommitEntry(events.stream().map(EventUtils::asDomainEventMessage).collect(Collectors.toList()),serializer).asDBObject(commitEntryConfiguration,eventConfiguration())
to
new CommitEntry(events.stream().map(EventUtils::asDomainEventMessage).collect(Collectors.toList()),serializer).asDocument(commitEntryConfiguration,eventConfiguration())
dbCol.findOne(filter)
to
dbCol.find(filter).first()
dbCol.findOne(filter)
to
dbCol.find(filter).first()
dbCol.findOne()
to
dbCol.find().first()
dbCol.findOne(trackingObj)
to
dbCol.find(trackingObj).first()
calculateCollection(exchange).getStats()
to
calculateDb(exchange).runCommand(createDbStatsCommand())
calculateDb(exchange).getStats()
to
calculateDb(exchange).runCommand(createCollStatsCommand(calculateCollectionName(exchange)))
Cascading Type Change (Different)
BasicDBObject
to
Document
BasicDBObject
to
Document
Rename Variable
asDBObject
to
asDocument
fields
to
projection
fields
to
projection
fields
to
projection
fields
to
projection
query
to
filter
Rename Method invocation
asDBObject
to
asDocument
asDBObject
to
asDocument
save
to
insertOne
update
to
updateOne