String () { int length = ERROR_COUNT.get() % (MAX_SEPARATOR_LENGTH - RECORD_START.length()); StringBuilder tail = new StringBuilder(); for (int i = 0; i < length; i++) { int randomIndex = ThreadLocalRandom.current().nextInt(0, CONTROL_CHARS.length); tail.append(CONTROL_CHARS[randomIndex]); } return tail.toString(); }