public static int getPositiveInt(
      final ObjectNode node, final String key, final int defaultValue) {
    final String value = getValueAsString(node, key, String.valueOf(defaultValue));
    return parsePositiveInt(key, value);
  }
Gets positive int.

@param node the node
@param key the key
@param defaultValue the default value
@return the positive int
config/src/main/java/org/hyperledger/besu/config/JsonUtil.java