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

proposed GrabResolver shorthand

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.5, 1.8-beta-2
    • 1.7.6, 1.8-beta-3
    • None
    • None

    Description

      The current syntax for @GrabResolver is:

      @GrabResolver(name='some name', root='http://some/url')
      

      It would be good to have a shorthand syntax using a value attribute, i.e.:

      @GrabResolver('http://some/url')
      

      would be a shorthand for:

      @GrabResolver(name='http://some/url', root='http://some/url')
      

      Attachments

        Activity

          People

            paulk Paul King
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: