[forge-issues] [JBoss JIRA] (FURNACE-94) ShallowAddonInfo is missing a toString method

Ladislav Thon (JIRA) issues at jboss.org
Mon Nov 23 07:21:00 EST 2015


     [ https://issues.jboss.org/browse/FURNACE-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ladislav Thon updated FURNACE-94:
---------------------------------
    Description: 
The {{AddonInfo}}'s {{toString}} method is used elsewhere (e.g. in {{InstallRequestImpl.toString}} or {{RemoveRequestImpl.toString}}). This can eventually end up in some kind of a user interface.

However, {{ShallowAddonInfo}}, which is one of the {{AddonInfo}} implementations, doesn't implement {{toString}}, which leads to e.g. {{RemoveRequestImpl.toString}} returning {{Remove: \[org.jboss.forge.furnace.manager.impl.ShallowAddonInfo at 2db9ec6c\]}}, which is ugly.

  was:
The {{AddonInfo}}'s {{toString}} method is used elsewhere (e.g. in {{InstallRequestImpl.toString}} or {{RemoveRequestImpl.toString}}). This can eventually end up in some kind of a user interface

However, {{ShallowAddonInfo}}, which is one of the {{AddonInfo}} implementations, doesn't implement {{toString}}, which leads to e.g. {{RemoveRequestImpl.toString}} returning {{Remove: \[org.jboss.forge.furnace.manager.impl.ShallowAddonInfo at 2db9ec6c\]}}, which is ugly.



> ShallowAddonInfo is missing a toString method
> ---------------------------------------------
>
>                 Key: FURNACE-94
>                 URL: https://issues.jboss.org/browse/FURNACE-94
>             Project: Forge: Furnace
>          Issue Type: Bug
>          Components: Addon Manager
>    Affects Versions: 2.22.7.Final
>            Reporter: Ladislav Thon
>
> The {{AddonInfo}}'s {{toString}} method is used elsewhere (e.g. in {{InstallRequestImpl.toString}} or {{RemoveRequestImpl.toString}}). This can eventually end up in some kind of a user interface.
> However, {{ShallowAddonInfo}}, which is one of the {{AddonInfo}} implementations, doesn't implement {{toString}}, which leads to e.g. {{RemoveRequestImpl.toString}} returning {{Remove: \[org.jboss.forge.furnace.manager.impl.ShallowAddonInfo at 2db9ec6c\]}}, which is ugly.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list