CPD Results

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

Duplications

FileLine
org/apache/myfaces/examples/inputSuggestAjax/InputSuggestAjaxBean.java110
org/apache/myfaces/examples/inputSuggestAjax/InputSuggestAjaxBean.java119
            addressList.add(new Address(11,"noname",cityFragment+"nocity",15,"KL"));
            addressList.add(new Address(12,"max",cityFragment+"muster",14,"SJ"));
            addressList.add(new Address(13,"phil",cityFragment+"philadelphia",13,"NW"));
            addressList.add(new Address(14,"new",cityFragment+"new york",12,"IL"));
            addressList.add(new Address(15,"san",cityFragment+"san francisco",11,"NY"));
            addressList.add(new Address(16,"san",cityFragment+"san diego",16,"MH"));
            addressList.add(new Address(11,"noname",cityFragment+"max",15,"KL"));
            addressList.add(new Address(12,"max",cityFragment+"nomax",14,"SJ"));
            addressList.add(new Address(13,"phil",cityFragment+"detroit",13,"NW"));
FileLine
org/apache/myfaces/examples/inputSuggestAjax/InputSuggestAjaxBean.java109
org/apache/myfaces/examples/inputSuggestAjax/InputSuggestAjaxBean.java130
        {
            addressList.add(new Address(11,"noname",cityFragment+"nocity",15,"KL"));
            addressList.add(new Address(12,"max",cityFragment+"muster",14,"SJ"));
            addressList.add(new Address(13,"phil",cityFragment+"philadelphia",13,"NW"));
            addressList.add(new Address(14,"new",cityFragment+"new york",12,"IL"));
            addressList.add(new Address(15,"san",cityFragment+"san francisco",11,"NY"));
            addressList.add(new Address(16,"san",cityFragment+"san diego",16,"MH"));
            addressList.add(new Address(11,"noname",cityFragment+"max",15,"KL"));
            addressList.add(new Address(12,"max",cityFragment+"nomax",14,"SJ"));
FileLine
org/apache/myfaces/examples/inputSuggestAjax/InputSuggestAjaxBean.java94
org/apache/myfaces/examples/inputSuggestAjax/InputSuggestAjaxBean.java110
            addressList.add(new Address(11,"noname",cityFragment+"nocity",15,"KL"));
            addressList.add(new Address(12,"max",cityFragment+"muster",14,"SJ"));
            addressList.add(new Address(13,"phil",cityFragment+"philadelphia",13,"NW"));
            addressList.add(new Address(14,"new",cityFragment+"new york",12,"IL"));
            addressList.add(new Address(15,"san",cityFragment+"san francisco",11,"NY"));
            addressList.add(new Address(16,"san",cityFragment+"san diego",16,"MH"));
FileLine
org/apache/myfaces/examples/exporter/SimpleCar.java28
org/apache/myfaces/examples/ppr/SimpleCar.java29
public class SimpleCar
        implements Serializable {
    /**
     * serial id for serialisation versioning
     */
    private static final long serialVersionUID = 1L;
    private int _id;
    private String _type;
    private String _color;

    public SimpleCar(int id, String type, String color)
    {
        _id = id;
        _type = type;
        _color = color;
    }

    public int getId()
    {
        return _id;
    }

    public void setId(int id)
    {
        _id = id;
    }

    public String getType()
    {
        return _type;
    }

    public void setType(String type)
    {
        _type = type;
    }

    public String getColor()
    {
        return _color;
    }

    public void setColor(String color)
    {
        _color = color;
    }
}