mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
Fixed off by one in list method.
This commit is contained in:
parent
54ad7c4e98
commit
277278b331
@ -159,7 +159,7 @@ public class File {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String[] result = new String[count];
|
String[] result = new String[count];
|
||||||
for (int i = count; i >= 0; --i) {
|
for (int i = count - 1; i >= 0; --i) {
|
||||||
result[i] = list.value;
|
result[i] = list.value;
|
||||||
list = list.next;
|
list = list.next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user