CPD Results

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

Duplications

File Project Line
com\hazendaz\maven\makeself\AbstractGitMojo.java makeself-maven-plugin 217
com\hazendaz\maven\makeself\MakeselfMojo.java makeself-maven-plugin 717
final Process process = processBuilder.start();
        try (BufferedReader reader = new BufferedReader(
                new InputStreamReader(process.getInputStream(), StandardCharsets.UTF_8))) {
            String line = "";
            while ((line = reader.readLine()) != null) {
                this.getLog().info(line);
            }
            this.getLog().info("");
        }

        final int status = process.waitFor();
        if (status > 0) {
            this.getLog().error(String.join(" ", "Process failed with error status:", String.valueOf(status)));