code: public static String randomString(int length) {
          // CAUSE: If-Else Statements Should Use Braces
          if (length < 1) {
              throw new IllegalArgumentException(String.format("length < 1: %s", length));
          }
  
  		char[] buf = new char[length];
  
  		return nextString(buf);
  	}
docs: Generates a random alphanumeric string
  @param length Number of characters the random string contains
  @return String with the specified length