liquibase-core/src/main/java/liquibase/database/AbstractJdbcDatabase.java
protected List<SqlVisitor> filterRollbackVisitors(final List<SqlVisitor> visitors) {
        final List<SqlVisitor> rollbackVisitors = new ArrayList<>();
        if (visitors != null) {
            for (SqlVisitor visitor : visitors) {
                if (visitor.isApplyToRollback()) {
                    rollbackVisitors.add(visitor);
                }
            }
        }

        return rollbackVisitors;
    }
protected List<SqlVisitor> filterRollbackVisitors(final List<SqlVisitor> visitors) {
        final List<SqlVisitor> rollbackVisitors = new ArrayList<>();
        if (visitors != null) {
            for (SqlVisitor visitor : visitors) {
                if (visitor.isApplyToRollback()) {
                    rollbackVisitors.add(visitor);
                }
            }
        }

        return rollbackVisitors;
    }
protected List < SqlVisitor > filterRollbackVisitors ( final List < SqlVisitor > visitors ) { final List < SqlVisitor > rollbackVisitors = new ArrayList <> ( ) ; if ( visitors != null ) { for ( SqlVisitor visitor : visitors ) { if ( visitor . isApplyToRollback ( ) ) { rollbackVisitors . add ( visitor ) ; } } } return rollbackVisitors ; }
Takes a list of SqlVisitors and returns a new list with only the SqlVisitors set to apply to rollbacks
Takes a list of SqlVisitors and returns a new list with only the SqlVisitors set to apply to rollbacks