You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/05/20 13:54:08 UTC

[jira] [Commented] (GROOVY-6319) Canonical annotation should allow property names in toString

    [ https://issues.apache.org/jira/browse/GROOVY-6319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14552187#comment-14552187 ] 

ASF GitHub Bot commented on GROOVY-6319:
----------------------------------------

GitHub user paulk-asert opened a pull request:

    https://github.com/apache/incubator-groovy/pull/21

    GROOVY-6319: Canonical annotation should allow property names in toSt…

    …ring

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/paulk-asert/incubator-groovy groovy6319

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-groovy/pull/21.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #21
    
----
commit d2f625482b3fa78d68c02b31140bea0d24414456
Author: Paul King <pa...@asert.com.au>
Date:   2015-05-20T11:52:07Z

    GROOVY-6319: Canonical annotation should allow property names in toString

----


> Canonical annotation should allow property names in toString
> ------------------------------------------------------------
>
>                 Key: GROOVY-6319
>                 URL: https://issues.apache.org/jira/browse/GROOVY-6319
>             Project: Groovy
>          Issue Type: Improvement
>          Components: xforms
>            Reporter: Jeff Storey
>            Priority: Minor
>
> It's convenient to be able to use @Canonical instead of @ToString and @EqualsAndHashCode. @ToString allows you to include property names with includeNames=true, but @Canonical does not. It would be nice to be able to print out property names when using @Canonical.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)