This PR is to optimize code by using computeIfAbsent instead of putIfAbsent, in addition, the content of some Javadoc has been adjusted.

Comment From: sbrannen

This has been merged into master.

Thanks