mernst/plume-lib

JavaDoc errors in ArraysMDE

Closed this issue · 1 comments

In plume-lib/java/src/plume/ArraysMDE.java there is a subarray testing section starting ~ line 1167
the methods (isSubarray and isSubarrayEq) have:

  • @return the first index at which the second array starts in the first array,
  • or -1 if the element is not found in the array

in the javadoc but they return booleans

You are right. They were cut-and-pasted from indexOf, and not corrected.
I have fixed them in commit f2a433a.
Thanks for the report!