private List<MigrationInfo> future(MigrationInfo[] migrationInfos) {
        if (migrationInfos.length == 0)
            throw new NotFoundException();
        List<MigrationInfo> futureMigrations = Lists.newArrayList();
        for (MigrationInfo migrationInfo : migrationInfos) {
            if ((migrationInfo.getState() == MigrationState.FUTURE_SUCCESS)
                    || (migrationInfo.getState() == MigrationState.FUTURE_FAILED)) {
                futureMigrations.add(migrationInfo);
            }
        }

        return futureMigrations;
    }
private List < MigrationInfo > future ( MigrationInfo [ ] migrationInfos ) { if ( migrationInfos . length == 0 ) throw new NotFoundException ( ) ; List < MigrationInfo > futureMigrations = Lists . newArrayList ( ) ; for ( MigrationInfo migrationInfo : migrationInfos ) { if ( ( migrationInfo . getState ( ) == MigrationState . FUTURE_SUCCESS ) || ( migrationInfo . getState ( ) == MigrationState . FUTURE_FAILED ) ) { futureMigrations . add ( migrationInfo ) ; } } return futureMigrations ; }
Retrieves the full set of infos about future migrations applied to the DB.

@return The future migrations. An empty array if none.