Examples of AuxUserFileFile


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

                            email = commit.getCommitter().getEmail();
                        } else {
                            login = commit.getCommit().getCommitter().getEmail();
                            email = commit.getCommit().getCommitter().getEmail();
                        }
                        AuxUserFileFile aux = new AuxUserFileFile(login, email, file.getFilename(), file2.getFilename());
                        boolean contains = false;
                        for (AuxUserFileFile a : temp) {
                            if (a.equals(aux)) {
                                a.inc();
                                contains = true;
                                break;
                            }
                        }
                        if (!contains) {
                            temp.add(aux);
                        }
                    }
                }
            }
            out.printLog("Temp result: " + temp.size());
            count++;
        }

        List<AuxUserFileFileUser> result = new ArrayList<>();
        // por fim liga-se os desenvolvedores que modificaram o mesmo par de arquivos
        for (int i = 0; i < temp.size(); i++) {
            AuxUserFileFile iAux = temp.get(i);
            for (int j = i + 1; j < temp.size(); j++) {
                AuxUserFileFile jAux = temp.get(j);
                if (!Util.stringEquals(iAux.getUser(), jAux.getUser()) && iAux.fileEquals(jAux)) {
                    AuxUserFileFileUser aux = new AuxUserFileFileUser(iAux.getUser(), jAux.getUser(), iAux.getFileName(), iAux.getFileName2(), iAux.getWeight() + jAux.getWeight());
                    result.add(aux);
                }
            }
        }
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.