angela created OAK-569:
--------------------------

             Summary: NamedTemplate: Null-test for @Nonnull parameter
                 Key: OAK-569
                 URL: https://issues.apache.org/jira/browse/OAK-569
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: angela


the NamedTemplate in the nodetype package contains two methods that
define the jcrName param to be nonnull but then tests for jcrName being
null and throws an exception if that's the case.

shouldn't the param be rather be defined @CheckForNull?

- getOakNameOrThrowConstraintViolation (line 134 ff)
- getOakNamesOrThrowConstraintViolation (line 177 ff)

--
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

Reply via email to