CPD Results
The following document contains the results of PMD's  CPD 4.2.2.
Duplications
| File | Line | 
|---|
| net\sf\ovanttasks\ovnative\demos\ExplorerContextMenuEntry.java | 27 | 
| net\sf\ovanttasks\ovnative\demos\RegistryInstallUninstall.java | 33 | 
|             System.out.println("show how to add/remove entries in windows software setup");
            return;
        }
        if (args[0].equals("-install")) {
            install();
        } else if (args[0].equals("-uninstall")) {
            uninstall();
        } else {
            System.out.println(getClass().getName() + "(-install|-uninstall)");
        }
    }
    void install() {
        Registry reg = new Registry(
                Registry.HKEY_LOCAL_MACHINE, | 
| File | Line | 
|---|
| net\sf\ovanttasks\ovnative\demos\ExplorerContextMenuEntry.java | 25 | 
| net\sf\ovanttasks\ovnative\demos\RegistryInstallUninstall.java | 31 | 
|         if (args.length != 1) {
            System.out.println(getClass().getName() + "(-install|-uninstall)");
            System.out.println("show how to add/remove entries in windows software setup"); |