public Object getWhat()
{
return what;
}
/**
* Returns the edit pane involved.
*/
public EditPane getEditPane()
{
return (EditPane)getSource();
}
public String paramString()
{
return "what=" + what + "," + super.paramString();
}
// private members
private Object what;
public Object getWhat()
{
return what;
} //}}}
//{{{ getView() method
/**
* Returns the view involved.
*/
public View getView()
{
return (View)getSource();
} //}}}
//{{{ paramString() method
public String paramString()
{
return "what=" + what + "," + super.paramString();
} //}}}
//{{{ Private members
private Object what;
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/msg/EditPaneUpdate.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/msg/ViewUpdate.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public Object getWhat()↵ | | 1 | public Object getWhat()↵
|
2 | {↵ | | 2 | {↵
|
3 | return what;↵ | | 3 | return what;↵
|
4 | }↵ | | 4 | }↵
|
| | | 5 | //}}}↵
|
|
| | | 6 | //{{{ getView() method↵
|
5 | /**↵ | | 7 | /**↵
|
6 | * Returns the edit pane involved.↵ | | 8 | * Returns the view involved.↵
|
7 | */↵ | | 9 | */↵
|
8 | public EditPane getEditPane()↵ | | 10 | public View getView()↵
|
9 | {↵ | | 11 | {↵
|
10 | return (EditPane)getSource();↵ | | 12 | return (View)getSource();↵
|
11 | }↵ | | 13 | }↵
|
| | | 14 | //}}}↵
|
|
| | | 15 | //{{{ paramString() method↵
|
12 | public String paramString()↵ | | 16 | public String paramString()↵
|
13 | {↵ | | 17 | {↵
|
14 | return "what=" + what + "," + super.paramString();↵ | | 18 | return "what=" + what + "," + super.paramString();↵
|
15 | }↵ | | 19 | }↵
|
|
16 | // p↵ | | 20 | //}}}↵
|
|
17 | rivate members↵ | | 21 | //{{{ Private members↵
|
18 | private Object what; | | 22 | private Object what;
|
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 |