The following document contains the results of PMD's CPD 5.0.5.
File | Line |
---|---|
com/github/jinahya/simple/file/back/LocalFileBack.java | 169 |
com/github/jinahya/simple/file/back/LocalFileBack.java | 333 |
} final Path[] targetLeafPath_ = new Path[1]; if (targetLeafPath_[0] == null) { ofNullable(fileContext.targetKeySupplier()).ifPresent(s -> { ofNullable(s.get()).ifPresent(v -> { logger.trace("target key: {}", v); targetLeafPath_[0] = leafPath(rootPath, v, true); }); }); } final Path targetLeafPath = targetLeafPath_[0]; logger.trace("target leaf path: {}", targetLeafPath); ofNullable(fileContext.targetObjectConsumer()).ifPresent( c -> c.accept(targetLeafPath)); if (targetLeafPath == null) { logger.error("no target leaf path located"); |