spring-data-mongodb
spring-data-mongodb copied to clipboard
Remove assertions on hot code paths for methods considered internal API.
Asserting that eg. a property name must not be empty can be quite expensive if done frequently esp. within the mapping layer.
Also remove assertions done multiple times for the same input.