[
https://issues.apache.org/jira/browse/SLING-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13731801#comment-13731801
]
Felix Meschberger commented on SLING-2997:
------------------------------------------
I agree. Java 5 is dead and new code should IMHO be free to required Java 6 --
if only for the @Override annotation which IMHO is a big plus in code stability
by supporting the compiler with its static code analysis.
> ResourceAccessSecurityImpl uses @Override for interface methods, but does not
> declare compiler version as Java 6
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SLING-2997
> URL: https://issues.apache.org/jira/browse/SLING-2997
> Project: Sling
> Issue Type: Bug
> Components: ResourceResolver
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Resource Access Gate 1.0.0
>
>
> The class
> org.apache.sling.resourceaccesssecurity.impl.ResourceAccessSecurityImpl uses
> @Override to indicate interface implementation. This, however, is only valid
> on Java 6 and above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira