mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-11 05:12:43 +00:00
fixed race array enlarging in regatta structure import
Change-Id: Iab98261cea11e4b1c6e321b75ab80758ef700eb7
This commit is contained in:
1 parent
a5af304743
commit
efa7ab5b0e
1 file changed
+1
-1
+1
-1
@@ -34,7 +34,7 @@ public class Fleet implements Comparable {
|
||||
numRaces++;
|
||||
} else {
|
||||
Race[] temp = racesOld;
|
||||
racesOld = new Race[temp.length + NUMBEROFRACES];
|
||||
racesOld = new Race[raceNumber];
|
||||
for (int i = 0; i < temp.length; i++) {
|
||||
racesOld[i] = temp[i];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user