CPD Results

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

Duplications

FileProjectLine
org/kuali/maven/plugins/dnsme/mojo/AddRecordMojo.javaMaven DNSME Plugin78
org/kuali/maven/plugins/dnsme/mojo/ShowRecordsMojo.javaMaven DNSME Plugin88
    }

    protected String getCompactLog(Record record) {
        StringBuilder sb = new StringBuilder();
        sb.append(record.getName());
        sb.append("->" + record.getData());
        sb.append("," + record.getType());
        sb.append(",ttl=" + record.getTtl() + "s");
        return sb.toString();
    }

    protected String getLog(Record record) {
        StringBuilder sb = new StringBuilder();
        sb.append("Id:" + record.getId());
        sb.append(" Name:" + record.getName());
        sb.append(" Value:" + record.getData());
        sb.append(" Type:" + record.getType());
        sb.append(" TTL:" + record.getTtl());
        sb.append(" GTD:" + record.getGtdLocation());
        return sb.toString();
    }

}