try { waitForAllLock.wait(); } catch(InterruptedException ie) { Log.log(Log.ERROR,this,ie); }
try { stream.flush(); } catch(IOException io) { io.printStackTrace(realErr); }
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/util/WorkThreadPool.java File path: /jEdit-4.2/src/org/gjt/sp/util/Log.java
Method name: void waitForRequests() Method name: void flushStream()
Number of AST nodes: 2 Number of AST nodes: 2
1
try
1
try
2
				{
2
			{
3
					waitForAllLock.wait();
3
				stream.flush();
4
				}
4
			}
5
				catch(InterruptedException ie)
5
			catch(IOException io)
6
				{
6
			{
7
					Log.log(Log.ERROR,this,ie);
7
				io.printStackTrace(realErr);
8
				}
8
			}
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.3
Clones locationClones are in different classes
Number of node comparisons1