Open GoogleCodeExporter opened 9 years ago
My understanding of German is not great, so I hope this is not a copy of what
has been said, but if there will be a redisign of the FluentIssueCollection, I
would like to input an addition.
Since an issue code is less variable then the message, it would be useful to
add a filter for this as well. Something along these lines could be added to
the code:
public FluentIssueCollection withCode( String code ) {
FluentIssueCollection res = new FluentIssueCollection(resource, messages);
for (Issue i: issues) {
if ( i.getCode().equals(code)) {
res.addIssue( i );
}
}
if (res.getIssueCount() == 0 ) {
res.addMessage("no issues found with code '"+code+"'");
}
return res;
}
Original comment by edwin.va...@gmail.com
on 6 Sep 2011 at 3:18
The suggestion makes sense, opened issue#11 for it.
This issue is about general redesign.
Original comment by karsten....@googlemail.com
on 26 Apr 2012 at 9:29
Original comment by karsten....@googlemail.com
on 26 Apr 2012 at 9:30
Original issue reported on code.google.com by
lcorneliussen@googlemail.com
on 28 Jul 2011 at 8:09