You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2020/08/07 04:11:14 UTC

[GitHub] [groovy] paulk-asert commented on pull request #1342: GROOVY-9675: There should be a mechanism to disable individual macro …

paulk-asert commented on pull request #1342:
URL: https://github.com/apache/groovy/pull/1342#issuecomment-670311104


   Since checking individual methods could have a performance impact, I have used a single system property to turn on the disabling feature. E.g.
   ```
   -Dgroovy.macro.disable=true    // turn on globally
   -Dgroovy.macro.disable.foo=true  // disable the 'foo' macro (any macro with that name)
   
   -Dgroovy.extension.disable=true    // turn on globally
   -Dgroovy.extension.disable.dump=true  // disable the 'dump' extension method (any with that name)
   
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org