blafoo/c-geo-opensource — comment on commit f96b3157965b01ad771aab2a60669e19ad90a67e
File: main/src/cgeo/geocaching/utils/BaseUtils.java line 47
By blafoo:

Because of the javadoc for trim:

"Copies this string removing white space characters from the beginning and end of the string."

In my understanding a copy is a new string, the extra string creation seems not to be needed.

How did you check the implementation ? Did you attach the java sources for the Android SDK in Eclipse ?