Currently we tend to call assert with message like this:
Assert.notNull(fooBar, "FooBar must not be null");
Framework actually uses two different styles of message which mean slightly different things. A message "FooBar must not be null" refers to a type called FooBar. A message "'fooBar' must not be null" refers to the parameter or property name and is used when there is no useful explicit type.
Comment From: jjsfernandez
Hi @philwebb, can i work on this issue?
Comment From: philwebb
Sorry for the late reply @JosejeSinohui. This one is likely to touch a lot of files so I think it's best if one of the core team take care of it since we'll need to coordinate around other work.
Comment From: izeye
This seems to be resolved in https://github.com/spring-projects/spring-boot/issues/43780.