public ESigItemIssue addIssue ( ESigItemIssueSeverity severity , String description ) { ESigItemIssue issue = new ESigItemIssue ( severity , description ) ; if ( issues == null ) { issues = new ArrayList < ESigItemIssue > ( ) ; sortIssues = false ; } else { int i = issues . indexOf ( issue ) ; if ( i >= 0 ) { return issues . get ( i ) ; } sortIssues = true ; } issues . add ( issue ) ; return issue ; }
Adds an issue to the signature item .