docs: public static void printProperties(String message, Properties properties,
                                       PrintStream stream) {
      if (message != null) {
        stream.println(message);
      }
      if (properties.isEmpty()) {
        stream.println("  [empty]");
      } else {
        List<Map.Entry<String, String>> entries = getSortedEntries(properties);
        for (Map.Entry<String, String> entry : entries) {
          if ( ! "".equals(entry.getKey())) {
            stream.format("  %-30s = %s%n", entry.getKey(), entry.getValue());
          }
        }
      }
      stream.println();
    }