Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12700

Remove unused import in TestCompressorDecompressor.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The fix for HADOOP-12590 left an unused import in TestCompressorDecompressor.java.

      After uploading the patch for HADOOP-12590, I spotted the problem in IntelliJ which marked the unused import gray, but it was too late.

      The problem was not detected by precommit check because test source files are not checked by checkstyle by default. Maven checkstyle plugin parameter includeTestSourceDirectory is false by default.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jzhuge John Zhuge
                Reporter:
                jzhuge John Zhuge
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: