Examples of AuxUserFilePull


Examples of br.edu.utfpr.cm.JGitMinerWeb.services.matrix.auxiliary.AuxUserFilePull

        List<NodeGeneric> nodes = new ArrayList<>();
        List<AuxUserUserPullFile> controls = new ArrayList<>(); // lista pata controle de repetição

        for (int i = 0; i < query.size(); i++) {
            System.out.println(i + "/" + query.size());
            AuxUserFilePull aux = query.get(i);
            for (int j = i + 1; j < query.size(); j++) {
                AuxUserFilePull aux2 = query.get(j);
                if (aux.getPullNumber().equals(aux2.getPullNumber())) { // se o pull é igual
                    if (!aux.getUserIdentity().equals(aux2.getUserIdentity())) {// se o user é diferente
                        if (aux.getFileName().equals(aux.getFileName())) { // se o file é igual
                            // então eles mexeram no mesmo arquivo no mesmo pull request
                            AuxUserUserPullFile control = new AuxUserUserPullFile(aux.getUserIdentity(), aux2.getUserIdentity(), aux.getPullNumber(), aux.getFileName());
                            // verifica se já foi gravado registo semelhante, se não foi então grave
                            if (!controls.contains(control)) {
                                controls.add(control);
                                incrementNode(nodes, new NodeGeneric(control.getUserIdentity(), control.getUserIdentity2()));
                            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.