-
Home
- Project Documentation Project Reports 11
CPD Results
The following document contains the results of PMD's CPD 6.55.0.
Duplications
File | Line |
---|---|
org/sentrysoftware/maven/skin/ImageTool.java | 344 |
org/sentrysoftware/maven/skin/ImageTool.java | 536 |
) throws IOException { // basedir path Path basedirPath = Paths.get(basedir).toAbsolutePath(); // First, calculate the real path of the current document Path documentPath = Paths.get(basedir, currentDocument); Path parentPath = documentPath.getParent(); if (parentPath == null) { throw new IOException("Couldn't get parent path of " + currentDocument); } // Select all images List<Element> elements = body.select(selector); // For each image for (Element element : elements) { // Get the SRC attribute (the path) String imageSrc = element.attr("src"); if (imageSrc.isEmpty()) { continue; } // Skip absolute URLs if (isAbsoluteUrl(imageSrc)) { continue; } |
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.