The following document contains the results of PMD's CPD 4.2.5.
File | Project | Line |
---|---|---|
org/kuali/maven/plugins/dnsme/mojo/AddRecordMojo.java | Maven DNSME Plugin | 78 |
org/kuali/maven/plugins/dnsme/mojo/ShowRecordsMojo.java | Maven DNSME Plugin | 88 |
} 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(); } } |