code: public static void printDebug(final String[] pStringArray, final PrintStream pPrintStream) {
  
      if (pPrintStream == null) {
        System.err.println(PRINTSTREAM_IS_NULL_ERROR_MESSAGE);
        return;
      }
      if (pStringArray == null) {
        pPrintStream.println(STRINGARRAY_IS_NULL_ERROR_MESSAGE);
        return;
      }
      for (int i = 0; i < pStringArray.length; i++) {
        pPrintStream.println(pStringArray[i]);
      }
    }
docs: Prints the content of a {@code java.lang.String[]} to a {@code java.io.PrintStream}.
  <p>
  @param pStringArray the {@code java.lang.String[]} to be printed.
  @param pPrintStream the {@code java.io.PrintStream} for flushing the results.