What steps will reproduce the problem?
1. Install Nbgit 0.3
2. Import a Maven Project
3. Causes a String index Out of Bounds in FnMatch.hasLeadingPeriod, because
stringPos is larger than string-param.
I attached a possible fix, it would be enough to change the order of the
arguments in the if-statement.
I would also suggest to add a check on the range, and then return just false.
I am working on Java 1.5.0_18
Original issue reported on code.google.com by martin.d...@gmail.com on 25 Dec 2009 at 9:29
Original issue reported on code.google.com by
martin.d...@gmail.com
on 25 Dec 2009 at 9:29Attachments: