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

Checkstyle IllegalImport does not catch guava imports

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Although YARN-10352 introduces guava iterator import, it was committed to trunk without checkstyle errors.

      According to IllegalImportCheck#setIllegalPkgs , the packages regex should be the prefix of the package. The code automatically append \.* to the regex.

      CC: aajisaka
       

      Attachments

        Issue Links

          Activity

            People

              ahussein Ahmed Hussein
              ahussein Ahmed Hussein
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 1h 40m
                  1h 40m