Ian McDougall <imcdougall@apple.com> wrote on 11/15/2005 01:33:45 PM:
> We've triggered an error when looking at the 'SVN Resource History'
> and you select a revision that has a comment starting with a URL.
> so a revision comment with a comment like "bug://foo/bar is the
> issue" will trigger:
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java:1438)
> at
> org.tigris.subversion.subclipse.ui.settings.ProjectProperties.getUrls
> (ProjectProperties.java:158)
> at org.tigris.subversion.subclipse.ui.history.HistoryView
> $30.selectionChanged(HistoryView.java:887)
>
>
> the fix is:
> org.tigris.subversion.subclipse.ui.settings.ProjectProperties:
> OLD: line 148: int start = i;
> FIX: line 148: int start = (i < 0) ? 0 : i;
>
> Sorry in advance if this is an inappropriate place for this.
Thanks. I will look into it and likely commit it.
Mark
_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Wed Nov 16 05:40:00 2005