CPD Results
The following document contains the results of PMD's CPD 6.4.0.
Duplications
File Project Line org/devacfr/maven/skins/reflow/model/Menu.java Reflow Velocity Tools 146 org/devacfr/maven/skins/reflow/model/MenuItem.java Reflow Velocity Tools 136} /** * @return the inherit */ public String getInherit() { return inherit; } /** * @return the active */ public boolean isActive() { boolean active = this.active; if (active) { return active; } for (final MenuItem menuItem : menuItems) { active = menuItem.isActive(); if (active) { break; } } return active; } /** * @return the alt */ public String getAlt() { return alt; } /** * @return the border */ public String getBorder() { return border; } /** * @return the height */ public String getHeight() { return height; } /** * @return the href */ public String getHref() { return href; } /** * @return the image */ public String getImage() { return image; } /** * @return the position */ public String getPosition() { return position; } /** * @return the target */ public String getTarget() { return target; } /** * @return the title */ public String getTitle() { return title; } /** * @return the width */ public String getWidth() { return width; }
this.alt = item.getAlt(); this.border = item.getBorder(); this.height = item.getHeight(); this.width = item.getWidth(); this.href = config.relativeLink(item.getHref()); this.image = item.getImg(); this.name = item.getName(); this.position = item.getPosition(); this.target = item.getTarget(); this.title = item.getTitle(); this.active = config.isActiveLink(this.href); this.inherit = null;