code: public static PoolInfo createPoolInfo(String poolInfoString) {
      if (poolInfoString == null || poolInfoString.isEmpty()) {
        LOG.warn("createPoolInfo: Null or empty input " + poolInfoString);
        return null;
      }
  
      String[] poolInfoSplitString = poolInfoString.split("[.]");
      if (poolInfoSplitString.length != 2) {
        LOG.warn("createPoolInfo: Couldn't parse " + poolInfoString);
        return null;
      }
  
      return new PoolInfo(poolInfoSplitString[0], poolInfoSplitString[1]);
    }
docs: Create PoolInfo object from a properly formatted string
  <poolgroup>.<pool> or return null
  
  @param poolInfoString String to parse
  @return Valid PoolInfo object or null if unable to parse