ReplicationTasksStorage: Handle empty task files

Instead of NPEing if we manage to read a task file that's empty, return
an empty Optional.

Running the IT tests 1000 times produced this as the only failure (and
only once).

Change-Id: I3e7392dfb179795348d7f4a207102aa867aed85b
1 file changed
tree: e2bb0be8b8f41fa526e6c0cdae8018f0ec7ffabb
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE