On Wed, Oct 27, 2010 at 2:32 PM, Dirk Starke <dirk.sta...@protagen.de> wrote: > Hello, > > I just recognized the following example in class StringUtils: > > StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 > > I don't understand this example, because [] is used for an empty array > in the documentation of this method. Could this be corrected or > explained?
Looks like an error, should be: StringUtils.indexOfAnyBut("zzabyycdxx", "") = -1 http://commons.apache.org/lang/xref/org/apache/commons/lang3/StringUtils.html#1596 Please file a bug report: http://commons.apache.org/lang/issue-tracking.html Thanks Niall > > Cheers, > > Dirk > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org