SwingUtilities.invokeLater(new Runnable() { public void run() { queuedUpdate = false; manager.update(); } }); queuedUpdate = true;
SwingUtilities.invokeLater(new Runnable() { public void run() { dispose(); JOptionPane.showMessageDialog(null, message, "Installation aborted", JOptionPane.ERROR_MESSAGE); System.exit(1); } });
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/pluginmgr/PluginManager.java File path: /jEdit-4.2/src/installer/SwingInstall.java
Method name: void handleMessage(EBMessage) Method name: void error(String)
Number of AST nodes: 2 Number of AST nodes: 1
1
SwingUtilities.invokeLater(new Runnable()
1
SwingUtilities.invokeLater(new Runnable()
2
				{
2
			{
3
					public void run()
3
				public void run()
4
					{
4
				{
5
						queuedUpdate = false;
5
					
6
						manager.update();
7
					}
8
				});
9
				queuedUpdate = true
6
dispose();
7
					JOptionPane.showMessageDialog(null,
8
						message,
9
						"Installation aborted",
10
						JOptionPane.ERROR_MESSAGE);
11
					System.exit(1);
12
				}
10
;
13
			});
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 having the same super class
Number of node comparisons2