Re: [LANG] Adding isEmpty and isNotEmpty methods to ObjectUtils

2018-08-17 Thread Alexander Tsvetkov
; - File, empty if length is 0 > - Path, empty if name length is 0 > - Buffer, what? > - StringBuffer > - StringBuilder > - java.sql.Clob > - java.sql.Lob > - The content of an AtomicReference > - ZipFile > - on and on for anything that has a "size()" or "len

Re: [LANG] Adding isEmpty and isNotEmpty methods to ObjectUtils

2018-08-17 Thread Alexander Tsvetkov
itter : > Hello Alexander, > > welcome to the mailing list and thanks for your contribution. > > Am Fr., 17. Aug. 2018 um 10:43 Uhr schrieb Alexander Tsvetkov < > alexander.tsvetkov...@gmail.com>: > > > Hi all, > > > > First of all, apologies if I have mes

[LANG] Adding isEmpty and isNotEmpty methods to ObjectUtils

2018-08-17 Thread Alexander Tsvetkov
Hi all, First of all, apologies if I have messed something up - this is my first attempt at contributing to Apache. With that said, I'd like to propose adding two new methods to Commons Lang's ObjectUtils class: - isEmpty() - isNotEmpty() These would check whether the object is empty (or not