Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-4432

Remove useless maybeAddDefaultLoggingJavaOpts from TezClientUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.3
    • None
    • None

    Description

      After TEZ-3918, which removed most of the method body, only a null check can be found.

        static void maybeAddDefaultLoggingJavaOpts(String logLevel, List<String> vargs) {
          Objects.requireNonNull(vargs);
          TezClientUtils.addLog4jSystemProperties(logLevel, vargs);
        }
      

      I believe this method should be removed and Objects.requireNonNull should be moved to addLog4jSystemProperties

      Attachments

        Issue Links

          Activity

            People

              ayushtkn Ayush Saxena
              abstractdog László Bodor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h