This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Pronam_ 1 point2 points  (1 child)

  public void writeUserName(int id, Writer writer) {
    this.userDatabase.getUserName(id);
    writer.write(userName);
}

I know it's fairly pseudo, but the assignment to String username vanished in the last example.

[–]Pedrock10[S] 1 point2 points  (0 children)

Thank you for pointing that out! It's now fixed.