Skip to content

Sugar for Configuration access in Groovy.#305

Open
alcarraz wants to merge 1 commit into
jpos:tailfrom
alcarraz:feature/sugar-syntax-for-Configuration-in-groovy
Open

Sugar for Configuration access in Groovy.#305
alcarraz wants to merge 1 commit into
jpos:tailfrom
alcarraz:feature/sugar-syntax-for-Configuration-in-groovy

Conversation

@alcarraz

Copy link
Copy Markdown
Contributor

This PR, just adds a convenient way to reference configuration String properties.

A nice addition would be to call getXXX by using method overloading by return type, that, even when java doesn't allow it, the JVM does. I kind of remember having read somewhere that groovy does, but I'm not sure, and I couldn't find the syntax.

It doesn't have much sense to worry about it anyway if there isn't a use case for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant