Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.impl.adapters;
 
 import  org.kie.internal.builder.KnowledgeBuilderErrors;
 
 import java.util.List;
    public KnowledgeBuilderErrorsAdapter(KnowledgeBuilderErrors delegate) {
        super(adaptErrors(delegate));
    }
    private static List<KnowledgeBuilderErroradaptErrors(KnowledgeBuilderErrors errors) {
        List<KnowledgeBuilderErrorresult = new ArrayList<KnowledgeBuilderError>();
        for (org.kie.internal.builder.KnowledgeBuilderError error : errors) {
            result.add(new KnowledgeBuilderErrorAdapter(error));
        }
        return result;
    }
New to GrepCode? Check out our FAQ X