return empty string so that able to use in loop without null check
replace useless stringbuffer with string
inline variable
simplify boolean return
Merge pull request #1 from AlvezKim/master

Thanks.