Checkout
Amit Jain
committed
on 01 Feb 18
OAK-7223: Files could be kept partially in case of disconnection from backends

- Created a utility method in FileIOUtils#copyInputStreamToF… Show more
OAK-7223: Files could be kept partially in case of disconnection from backends

- Created a utility method in FileIOUtils#copyInputStreamToFile which delegates to IOUtils but deletes file on exception thus removing any potential partial files created.

- Using the new method in FileCache load. Show less