I am working on an assignment and I thought I figured out the issue, but I am getting the same results. Using the FindBugs application I was able to see a big with the following line of code:
out.writeObject(accountMap.get(i));
I received a bug that said:
Integer is incompatible with expected argument type String in...
So I corrected it by converting the int to a String with:
out.writeObject(accountMap.get(Integer.toString(i)));
With the same bug results. Am I misunderstanding something?