try { // modify card properties in folder folder.modify(contactId, dialog.getDestModel()); } catch (Exception e1) { if (Logging.DEBUG) e1.printStackTrace(); ErrorDialog.createDialog(e1.getMessage(), e1); }
try { p = (IComponentPlugin) ext.instanciateExtension(null); p.init(); } catch (final PluginException e) { LOG.severe(e.getMessage()); if (Logging.DEBUG) { e.printStackTrace(); } }
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/contact/src/main/java/org/columba/addressbook/facade/DialogFacade.java File path: /columba-1.4-src/core/src/main/java/org/columba/core/component/ComponentManager.java
Method name: void openContactDialog(URI) Method name: void init()
Number of AST nodes: 2 Number of AST nodes: 3
1
try {
1
try {
2
				// modify card properties in folder
2
				
3
				folder.modify(contactId, dialog.getDestModel()
3
p = (IComponentPlugin) ext.instanciateExtension(null);
4
);
4
				p.init();
5
			} catch (Exception e1) {
5
			} catch (final PluginException e) {
6
				LOG.severe(e.getMessage());
6
				if (Logging.DEBUG)
7
				if (Logging.DEBUG) {
7
					e1.printStackTrace();
8
					e.printStackTrace();
9
				}
8
				ErrorDialog.createDialog(e1.getMessage(), e1);
10
				
9
			}
11
			}
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.0
Clones locationClones are in different classes
Number of node comparisons1