[
https://issues.apache.org/jira/browse/BROOKLYN-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293106#comment-15293106
]
ASF GitHub Bot commented on BROOKLYN-271:
-----------------------------------------
GitHub user kiuby88 opened a pull request:
https://github.com/apache/brooklyn-library/pull/38
Fix BROOKLYN-271: Avoiding object hashcode in entities' toString
Fixing [BROOKLYN-271](https://issues.apache.org/jira/browse/BROOKLYN-271)
Avoiding object references in catalog ConfigKey cards. Then, `toString`
method of `NginxDefaultConfigGenerator` has to return just the class name.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kiuby88/brooklyn-library BROOKLYN-271
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-library/pull/38.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 #38
----
commit 83c11eaae95e0810cfadac34c617df112e67234e
Author: Kiuby88 <[email protected]>
Date: 2016-05-20T10:02:28Z
Avoiding hashcode reference in toString method of NginxConfigFileGenerator
----
> ConfigKey card shows object hashCode of default values
> ------------------------------------------------------
>
> Key: BROOKLYN-271
> URL: https://issues.apache.org/jira/browse/BROOKLYN-271
> 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:
> !https://www.dropbox.com/s/rav70zzleyhnd4q/objectId.png?dl=1!
> 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
(v6.3.4#6332)