[
https://issues.apache.org/jira/browse/SLING-4305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276890#comment-14276890
]
Bertrand Delacretaz commented on SLING-4305:
--------------------------------------------
http://www.osgi.org/javadoc/r4v42/org/osgi/service/event/Event.html for example
uses getProperty and getPropertyNames, I think that's a common pattern.
> Refactor the Record interface
> -----------------------------
>
> Key: SLING-4305
> URL: https://issues.apache.org/jira/browse/SLING-4305
> Project: Sling
> Issue Type: Sub-task
> Components: Scripting
> Reporter: Radu Cotescu
> Fix For: Scripting Sightly Engine 1.0.0, Scripting Sightly JS Use
> Provider 1.0.0
>
> Attachments: SLING-4305.patch
>
>
> The {{Record}} interface methods should be renamed:
> {{get}} -> {{getValue}}
> {{properties}} -> {{getPropertiesNames}}
> See http://markmail.org/thread/47e65whixp454ocj.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)