Jason E Bailey created SLING-3911:
-------------------------------------

             Summary: Sling Models: Unexpected behaviour from Default
                 Key: SLING-3911
                 URL: https://issues.apache.org/jira/browse/SLING-3911
             Project: Sling
          Issue Type: Bug
          Components: Extensions
            Reporter: Jason E Bailey
            Priority: Minor


Current application of the @Default annotation has unexpected results

{code}

@Default() int[] intExample; 
// sets intExample to a non empty array of [0]

@Default(longValues={1,1}) int[] intExample2;
// sets intExample2 to a non empty array of [0]

{code}
This experience occurs will all supported array types



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

Reply via email to