CPD Results

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

Duplications

File Line
org/apache/maven/scm/provider/cvslib/command/tag/CvsTagConsumer.java 43
org/apache/maven/scm/provider/cvslib/command/update/CvsUpdateConsumer.java 42
    public CvsTagConsumer( ScmLogger logger )
    {
        this.logger = logger;
    }

    /** {@inheritDoc} */
    public void consumeLine( String line )
    {
        if ( logger.isDebugEnabled() )
        {
            logger.debug( line );
        }

        if ( line.length() < 3 )
        {
            if ( StringUtils.isNotEmpty( line ) )
            {
                if ( logger.isWarnEnabled() )
                {
                    logger.warn( "Unable to parse output from command: line length must be bigger than 3. ("
                        + line + ")." );
                }
            }
            return;
        }

        String status = line.substring( 0, 2 );

        String file = line.substring( 2 );

        if ( status.equals( "T " ) )