jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject null checks and ArgumentNullException in report package
Date Sun, 13 Dec 2015 11:10:30 GMT
Hi all,

in the new report package, there are a lot of null-checks of the sort

if (foo == null) {
  throw new ArgumentNullException("foo");
}

The ArgumentNullException is a new class from report.core.

We could use Validate.notNull() from commons lang3 instead. It will 
throw an NullPointerException, when a null value is found.

What do you think?

Regards,
  Felix

Mime
View raw message