Resolve PMD String warnings.

Change-Id: Id389a5f32629480dedf2b451ffdaa0492e4d14a6
Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>