findbugs: assign result of string manipulations
findbugs: nullpointer guards and wrappertype comparisons