[ 
https://issues.apache.org/jira/browse/SLING-6457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krystian Nowak closed SLING-6457.
---------------------------------

[~kwin] You're welcome and thanks for applying it!

> MergedResource's toString does not display properly merged resources' paths
> ---------------------------------------------------------------------------
>
>                 Key: SLING-6457
>                 URL: https://issues.apache.org/jira/browse/SLING-6457
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Resource Merger 1.3.0
>            Reporter: Krystian Nowak
>            Assignee: Konrad Windszus
>            Priority: Minor
>             Fix For: Resource Merger 1.3.2
>
>         Attachments: SLING-6457-krystian.patch
>
>
> Paths of merged resources are kept in a String array which is accessed by 
> _toString_ via _ResourceMetadata metadata_ field which is in fact a String to 
> Object map.
> Therefore _toString_ method prints 
> _this.metadata.get(MergedResourceConstants.METADATA_RESOURCES)_ directly 
> which results in an output similar to this:
> {noformat}
> MergedResource [path=/merged, resources=[Ljava.lang.String;@51920d25]
> {noformat}
> instead of e.g.:
> {noformat}
> MergedResource [path=/merged, resources=[/a, /b, /c]]
> {noformat}



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

Reply via email to