Seeing the rest of the code, this pattern is all over the file - so no need to be nit picky about this one (or change it every where). Also the requests may be null if multiple indices have failed creation (maybe good to add to the test)