I have a question that is a shot in the dark, maybe someone can help me. My partner in a big btree project didnt get the part done she was suposed to so now im trying to do her part real quick before due date (tomorrow).
In this picture, on line 55 i make an empty string.
on line 62 I add to this empty string if it is a certain letter
on line 65, I am doing a snapshot print out 200 iterations in, and as we can see from the console output on the left, tempHolder version 1.5 does have letters in it.
On line 70, all the sudden tempHolder has lost all its *****ng values, magically
I know this is a long shot but does anyone know wtf is going on here?
Fwiw I'm just throwing random tests in partners code to find out where the problem is. So dont judge me
edit: also, any and all immediate feedback would be a godsend so dont be shy to guess here xD
edit: i added System.out.println(tempHolder.length()); to line 71 and it said 5028 but there is nothing there ........
maybe there is a max size for strings in java or some weird thing going on here?