public void addLayoutComponent(String name, Component comp) { } public void removeLayoutComponent(Component comp) {
public void addLayoutComponent(String name, Component comp) {} //}}} //{{{ removeLayoutComponent() method public void removeLayoutComponent(Component comp) {} //}}}
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/installer/SwingInstall.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/PanelWindowContainer.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void addLayoutComponent(String name, Component comp)
1
public void addLayoutComponent(String name, Component comp)
2
		{
3
		}
2
 {} //}}}
3
		//{{{ removeLayoutComponent() method
4
		public void removeLayoutComponent(Component comp)
4
		public void removeLayoutComponent(Component comp)
5
		{
5
 {} //}}}
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 location
Number of node comparisons0