code: public static void displayVersion(final PrintWriter writer) {
          for (String line : new VersionProvider().getVersion()) {
              writer.println(line);
          }
      }
docs: Prints version information to the specified PrintWriter.
  @since 2.5