Added Assert.isFalse(...) methods with JavaDoc & Unit Tests.

Resolve spring-projects/spring-framework#27432

Comment From: pivotal-cla

@Melancholic Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@Melancholic Thank you for signing the Contributor License Agreement!

Comment From: sbrannen

Hi @Melancholic

Thanks for creating your first PR for the Spring Framework.

Many people have made suggestions to introduce additional convenience methods in Assert, StringUtils, and similar utilities in the Spring Framework; however, they have typically all been declined along the lines stated in https://github.com/spring-projects/spring-framework/issues/17766#issuecomment-453427274, essentially since these utilities are only intended for use within the framework itself.

Related Issues:

  • 810

  • 17508

  • 17766

  • 23749

In light of that, I am inclined to decline this request; however, I'll leave the issue open to allow the team to decide whether we want to potentially reconsider this for Spring Framework 6.0.

Comment From: bclozel

There isn't much demand for this and we tend to not introduce variants unless there is a clear use case for utility methods within Spring Framework. I'm closing this as a result.