CPD Results

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

Duplications

File Line
org/apache/maven/plugin/jira/JiraReportGenerator.java 309
org/apache/maven/plugin/trac/TracReportGenerator.java 157
        sinkSectionTitle1( sink, bundle.getString( "report.trac.header" ) );

    }

    private void sinkEndReport( Sink sink )
    {
        sink.body_();

        sink.flush();

        sink.close();
    }

    private void sinkFigure( Sink sink, String image )
    {
        sink.figure();

        sink.figureGraphics( image );

        sink.figure_();
    }

    private void sinkHeader( Sink sink, String header )
    {
        sink.tableHeaderCell();

        sink.text( header );

        sink.tableHeaderCell_();
    }

    private void sinkCell( Sink sink, String text )
    {
        sink.tableCell();

        if ( text != null )
        {
            sink.rawText( text );
        }
        else
        {
            sink.rawText( " " );
        }

        sink.tableCell_();
    }

    private void sinkSectionTitle1( Sink sink, String text )
    {
        sink.sectionTitle1();

        sink.text( text );

        sink.sectionTitle1_();
    }