replace commons-lang usage