fakemongo / fongo

faked out in-memory mongo for java
Apache License 2.0
523 stars 156 forks source link

Rename class with name mongodb name clash #345

Closed tobias- closed 2 years ago

tobias- commented 6 years ago

https://github.com/fakemongo/fongo/blob/fa0d307455025dc76d40d953350fddd3b71a7021/src/main/java/com/mongodb/util/FongoJSON.java#L162

This class is named exactly the same and in the same package as the org.mongodb:mongodb-driver one. Aside from the obvious of not knowing which one is used, lints such as nebula's gradle-lint raises righteous hell.

The reason I have both is that I have slow tests that use a real mongodb and fast tests that use Fongo.