for(int i = 0; i < newAPI.length; i++) { returnValue.add(newAPI[i]); }
for(int i = 0; i < put.length; i++) { if(i != 0) buf.append(','); buf.append(put[i]); }
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/io/VFSManager.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/textarea/DisplayManager.java
Method name: String[] getVFSs() Method name: void fvmput(int, int, int[])
Number of AST nodes: 2 Number of AST nodes: 4
1
for(int i = 0; i < newAPI.length; i++)
1
for(int i = 0; i < put.length; i++)
2
			{
2
				{
3
				returnValue.add(newAPI
3
					if(i != 0)
4
						buf.append(',');
4
[i]);
5
					buf.append(put[i]);
5
			}
6
				}
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