private static @Nullable Character parse(String key) {
    String value = System.getProperty(key);
    if (value == null) {
      return null;
    }

    value = value.trim();
    if (value.isEmpty()) {
      return null;
    }

    int code;
    try {
      code = Integer.parseInt(value, 16);
    }
    catch (NumberFormatException e) {
      LOG.info(String.format("Detected invalid code for system property '%s' - '%s'. Expected to find hex number there. " +
                               "Custom soft wraps signs will not be applied", key, value));
      return null;
    }

    return (char)code;
  }
private static @Nullable Character parse(String key)