try
{
getListener(i).contentRemoved(this,startLine,
offset,numLines,length);
}
catch(Throwable t)
{
Log.log(Log.ERROR,this,"Exception while sending buffer event to "+getListener(i)+" :");
Log.log(Log.ERROR,this,t);
try
{
getListener(i).preContentRemoved(this,startLine,
offset,numLines,length);
}
catch(Throwable t)
{
Log.log(Log.ERROR,this,"Exception while sending buffer event to "+getListener(i)+" :");
Log.log(Log.ERROR,this,t);
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/Buffer.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/Buffer.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | try↵ | | 1 | try↵
|
2 | {↵ | | 2 | {↵
|
3 | getListener(i).contentRemoved(this,startLine,↵ | | 3 | getListener(i).preContentRemoved(this,startLine,↵
|
4 | offset,numLines,length);↵ | | 4 | offset,numLines,length);↵
|
5 | }↵ | | 5 | }↵
|
6 | catch(Throwable t)↵ | | 6 | catch(Throwable t)↵
|
7 | {↵ | | 7 | {↵
|
8 | Log.log(Log.ERROR,this,"Exception while sending buffer event to "+getListener(i)+" :");↵ | | 8 | Log.log(Log.ERROR,this,"Exception while sending buffer event to "+getListener(i)+" :");↵
|
9 | Log.log(Log.ERROR,this,t);↵ | | 9 | Log.log(Log.ERROR,this,t);↵
|
10 | | | 10 |
|
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 | |
Number of node comparisons | 0 |