void (String str) { String reason; if (str == null) { return; } if ((reason = Verifier.checkCharacterData(str)) != null) { throw new IllegalDataException(str, "character content", reason); } if (str.length() > 0) { value += str; } }