private void checkAndWarnAboutIdentifiers()

in iceberg-catalog-migrator/cli/src/main/java/org/apache/polaris/iceberg/catalog/migrator/cli/BaseRegisterCommand.java [202:217]


  private void checkAndWarnAboutIdentifiers(
      Set<TableIdentifier> identifiers, String identifierRegEx) {
    if (identifiers.isEmpty()) {
      if (identifierRegEx != null) {
        consoleLog.warn(
            "User has not specified the table identifiers."
                + " Will be selecting all the tables from all the namespaces from the source catalog "
                + "which matches the regex pattern:{}",
            identifierRegEx);
      } else {
        consoleLog.warn(
            "User has not specified the table identifiers."
                + " Will be selecting all the tables from all the namespaces from the source catalog.");
      }
    }
  }