Super Boring Topic
Hi, Yesterday, I published an article about the Assert class from Spring . And in May, at the Developer Meetup in Essen , I also talked about the class. But actually, it’s super boring. For those who don’t know: It offers a series of simple “assert” methods. For example, instead of if (someVariable == null) { throw new IllegalArgumentException("someVariable must not be null"); } we can write: Assert.isNotNull(someVariable, "someVariable must not be null"); Incredible.