Two cleanups for classes in the jdk repo.
The Boolean class has cache for true and false and using it, will save
memory and will faster than using create new instance of Boolean.
When a String has length just one, could be replaced by equivalent
character literals, gaining some performance enhancement.
The Boolean class has cache for true and false and using it, will save
memory and will faster than using create new instance of Boolean.
When a String has length just one, could be replaced by equivalent
character literals, gaining some performance enhancement.