[jboss-jira] [JBoss JIRA] (LOGTOOL-67) Validate @ValidIdRange values for overlap

James Perkins (JIRA) jira-events at lists.jboss.org
Wed Mar 6 20:27:56 EST 2013


James Perkins created LOGTOOL-67:
------------------------------------

             Summary: Validate @ValidIdRange values for overlap
                 Key: LOGTOOL-67
                 URL: https://issues.jboss.org/browse/LOGTOOL-67
             Project: Log Tool
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
            Reporter: James Perkins
            Assignee: James Perkins


If multiple classes in the same project use the {{@ValidIdRange}} annotation they {{min}} and {{max}} values should check for overlap.

Example:
{code:java}
@ValidIdRange(min = 1, max = 10)
@MessageLogger(projectCode = "TEST")
interface TestLogger {
}
{code}

{code:java}
@ValidIdRange(min = 9, max = 20)
@MessageBundle(projectCode = "TEST")
interface TestMessages {
}
{code}

The above should result in a failure.

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


More information about the jboss-jira mailing list