Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-834

Many, many compiler warnings (Eclipse 3.1 M6)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-1
    • 1.0-JSR-4
    • None
    • None
    • Eclipse 3.1M6, using 1.4 compiler settings and enabled many warnings

    Description

      See the attached "\t" separated file. It lists around 700 warnings Eclipse 3.1M6 (using 1.4 compiler settings and enabled many warnings) generates. Which ones are no-gos? Which are to be ignored?

      I start a list here, sorting out the severity type of warning descriptions.

      [ might be ignored ] (by Eclipse's and other compiler settings)

      o Access to enclosing method getCurrent() from the type T is emulated by a synthetic accessor method. Increasing its visibility will improve your performance.

      o Statement unnecessarily nested within else clause. The corresponding then clause does not complete normally.

      [ needs fix ]

      o all remaining, especially...

      o Unnecessary semicolons
      o Unnecessary casts from T to T
      o The private field f is never read locally.

      Attachments

        1. 700warnings.txt
          124 kB
          sormuras

        Issue Links

          Activity

            People

              sormuras sormuras
              sormuras sormuras
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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