Description
I am using Validate.java since long and find it difficult to use when I just want to validate collections or string.
With current interface, I go like this:
while(cnt < list.size()) {
List list1 = list.get(cnt);
try
catch(IllegalArgumentException e)
{ continue; }}
much better approach is:
while(cnt < list.size()) {
List list1 = list.get(cnt);
try {
if(! Validate.notEmpty(list1)) { continue; }
}
If you all agree with this change, I am willing to submit a patch for this.