core/src/main/java/org/elasticsearch/indices/IndicesService.java
public IndexService indexServiceSafe(Index index) {
        IndexService indexService = indexServiceSafe(index.getName());
        if (indexService.indexUUID().equals(index.getUUID()) == false) {
            throw new IndexNotFoundException(index);
        }
        return indexService;
    }
/**
     * Returns an IndexService for the specified index if exists otherwise a {@link IndexNotFoundException} is thrown.
     */
Returns an IndexService for the specified index if exists otherwise a  IndexNotFoundException is thrown.
Returns an IndexService for the specified index if exists otherwise a IndexNotFoundException is thrown .
public IndexService indexServiceSafe(Index index) {
        IndexService indexService = indexServiceSafe(index.getName());
        if (indexService.indexUUID().equals(index.getUUID()) == false) {
            throw new IndexNotFoundException(index);
        }
        return indexService;
    }
public IndexService indexServiceSafe ( Index index ) { IndexService indexService = indexServiceSafe ( index . getName ( ) ) ; if ( indexService . indexUUID ( ) . equals ( index . getUUID ( ) ) == false ) { throw new IndexNotFoundException ( index ) ; } return indexService ; }
Returns an IndexService for the specified index if exists otherwise a {@link IndexNotFoundException} is thrown.
Returns an IndexService for the specified index if exists otherwise a { @link IndexNotFoundException } is thrown .