brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BROOKLYN-271) ConfigKey card shows object hashCode of default values
Date Fri, 20 May 2016 09:59:12 GMT


ASF GitHub Bot commented on BROOKLYN-271:

GitHub user kiuby88 opened a pull request:

    Avoiding object hashcode in entities' toString.

    Fixing [BROOKLYN-271](
    Avoiding object references in catalog ConfigKey cards, for example:
    <img width="1036" alt="captura de pantalla 2016-05-19 a la s 17 46 04" src="">
    Last picture shows that default value of `softwareProcess.lifecycleTasks` config key does
not contain the object hashcode `@XXXXX`. Then, objects `toString` methods are modified to
avoid the hashcode.

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

    $ git pull BROOKLYN-271

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

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

    This closes #146
commit 5e1517b4c99f99c5368936a9f00ea180d0972776
Author: Kiuby88 <>
Date:   2016-05-20T09:56:59Z

    Avoiding object hashcode in entities' toString.


> ConfigKey card shows object hashCode of default values
> ------------------------------------------------------
>                 Key: BROOKLYN-271
>                 URL:
>             Project: Brooklyn
>          Issue Type: Documentation
>            Reporter: Jose Carrasco
>            Priority: Minor
> ConfigKey cards of Entities show the object references in Brooklyn Catalog when a default
value is a object. Take a look to the following screenshot:
> !!
> As you can see the default value is composed by: 
> {code}
>     getClass().getName() + '@' + Integer.toHexString(hashCode())
> {code}
> Probably just class name should be shown here. 

This message was sent by Atlassian JIRA

View raw message