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

wasted work in "GroovyDocToolTest.testPlainGroovyDocTool"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.5
    • 2.0.6
    • None
    • None
    • Patch

    Description

      The problem appears in Groovy 2.0.5 and in revision 740ae7c.. I
      attached a one-line patch that fixes it.

      In method "GroovyDocToolTest.testPlainGroovyDocTool", the loop over
      "clazz.methods()" should break immediately after "seenThisMethod" is
      set to "true". All the iterations after "seenThisMethod" is set to
      "true" do not perform any useful work, at best they just set
      "seenThisMethod" again to "true".

      Attachments

        1. patch.diff
          0.8 kB

        Activity

          People

            blackdrag Jochen Theodorou
            adriannistor Adrian Nistor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: