/src/main/java/org/htmlunit/util/StringUtils.java
return builder.append( ) ;
return builder.toString ( ) ;
builder.append('-').append(Character.toLowerCase(ch)); } else { builder.append(ch); } } <extra_id_0> } public static byte[] toByteArray(final String content, final Charset charset) { if (content == null || content.isEmpty()) { return new byte[0]; } return content.getBytes(charset);