Files
gerrit/gerrit-sshd
Edwin Kempin 6f1ece745f Fix NPE if user is null
Commit a35f8a20ab replaced the pattern
  user instanceof IdentifiedUser
with
  user.isIdentifiedUser()
.

This results in a NullPointerException in case the user is null
('user instanceof IdentifiedUser' was returning false in this case).
Add a check that the user is not null in all places where the user can
be null.

Change-Id: I71f5933d9a4eb2de6cd7acf616c347bf8a5bd9f2
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2013-09-12 10:46:51 +02:00
..
2013-08-11 18:10:06 +02:00