if (printJob.printDialog()) { try { printJob.print(); } catch (PrinterException e) { e.printStackTrace(); } }
if (url != null) { try { new InfoViewerDialog(url); } catch (IOException ioe) { } }
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/core/src/main/java/org/columba/core/print/cDocument.java File path: /columba-1.4-src/core/src/main/java/org/columba/core/gui/plugin/PluginManagerDialog.java
Method name: void print(int, int) Method name: void actionPerformed(ActionEvent)
Number of AST nodes: 3 Number of AST nodes: 3
1
if (printJob.printDialog()) {
1
if (
2
            try {
3
                printJob.print();
4
            
2
url != null) {
3
				try {
4
					new InfoViewerDialog(url);
5
} catch (PrinterException e) {
5
				} catch (IOException ioe) {
6
                e.printStackTrace();
7
            }
8
        
6
				}
9
}
7
			}
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.1
Clones locationClones are in different classes
Number of node comparisons1