CPD Results

The following document contains the results of PMD's CPD 5.0.2.

Duplications

File Line
com\google\code\sbt\SBTCompileMojo.java 145
com\google\code\sbt\SBTTestCompileMojo.java 135
        return defaultAnalysisCacheFile( project );
    }

    @Override
    protected Map<File, File> getAnalysisCacheMap()
    {
        HashMap<File, File> map = new HashMap<File, File>();
        for ( MavenProject reactorProject : reactorProjects )
        {
            if ( reactorProject != project )
            {
                File analysisCacheFile = defaultAnalysisCacheFile( reactorProject );
                if ( analysisCacheFile.isFile() )
                {
                    File reactorProjectArtifactFile = reactorProject.getArtifact().getFile();
                    if ( reactorProjectArtifactFile != null )
                    {
                        map.put( reactorProjectArtifactFile.getAbsoluteFile(), analysisCacheFile.getAbsoluteFile() );
                    }
                }