-
The previous check if data is nil is useless here, as unarchiveObjectWithData can not modify data, and there is already a check above this code that ensures data is not nil. But unarchiveObjectWithData could fail if it can not decode the archive, raising an NSInvalidArgumentException, so handle that properly.
0cd7e54f