progress++;
repaint();
// wait for it to be painted to ensure progress is updated
// continuously
try
{
wait();
}
catch(InterruptedException ie)
{
Log.log(Log.ERROR,this,ie);
}
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/SplashScreen.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/Buffer.java
|
Method name: void advance()
|
|
Method name: boolean checkFileForLoad(View, VFS, String)
|
Number of AST nodes: 4
|
|
Number of AST nodes: 0
|
|
1 | progress++;↵ | | | |
2 | repaint();↵ | | | |
|
3 | // wait for it to be painted to ensure progress is updated↵ | | | |
4 | // continuously↵ | | | |
5 | try↵ | | | |
6 | {↵ | | | |
7 | wait();↵ | | | |
8 | }↵ | | | |
9 | catch(InterruptedException ie)↵ | | | |
10 | {↵ | | | |
11 | Log.log(Log.ERROR,this,ie);↵ | | | |
12 | } | | | |
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 0 |