[
https://issues.apache.org/jira/browse/SLING-6539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15875731#comment-15875731
]
Konrad Windszus commented on SLING-6539:
----------------------------------------
Yes, you are right, sorry for that. Indeed tooling tricked me here, as JLS 1.3
states clearly:
bq. Every field declaration in the body of an interface is implicitly public,
static, and final. It is permitted to redundantly specify any or all of these
modifiers for such fields.
Reverted with [r1783860|http://svn.apache.org/r1783860].
> Make fields in AdapterFactory real constants
> --------------------------------------------
>
> Key: SLING-6539
> URL: https://issues.apache.org/jira/browse/SLING-6539
> Project: Sling
> Issue Type: Improvement
> Affects Versions: API 2.16.2
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
>
> The fields in {{o.a.s.api.adapter.AdapterFactory}} are named with all
> uppercase characters but they are not real constants (i.e. not static final).
> This is a problem e.g. for OSGi DS annotations where only real constants can
> be used as values.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)