void startDocument()
{
try
{
pushElement(null);
}
catch (Exception e)
{
e.printStackTrace();
}
} //}}}
//{{{ getCachedDockableNames() method
public String[] getCachedDockableNames()
{
return (String[])cachedDockableNames.toArray(new String[cachedDockableNames.size()]);
}
void startDocument()
{
try
{
pushElement(null);
}
catch (Exception e)
{
e.printStackTrace();
}
} //}}}
//{{{ getCachedServices() method
public ServiceManager.Descriptor[] getCachedServices()
{
return (ServiceManager.Descriptor[])cachedServices.toArray(
new ServiceManager.Descriptor[cachedServices.size()]);
}
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/DockableWindowManager.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/ServiceListHandler.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void startDocument()↵ | | 1 | void startDocument()↵
|
2 | {↵ | | 2 | {↵
|
3 | try↵ | | 3 | try↵
|
4 | {↵ | | 4 | {↵
|
5 | pushElement(null);↵ | | 5 | pushElement(null);↵
|
6 | }↵ | | 6 | }↵
|
7 | catch (Exception e)↵ | | 7 | catch (Exception e)↵
|
8 | {↵ | | 8 | {↵
|
9 | e.printStackTrace();↵ | | 9 | e.printStackTrace();↵
|
10 | }↵ | | 10 | }↵
|
11 | } //}}}↵ | | 11 | } //}}}↵
|
|
12 | //{{{ getCachedDockableNames() method↵ | | 12 | //{{{ getCachedServices() method↵
|
13 | public String[] getCachedDockableNames()↵ | | 13 | public ServiceManager.Descriptor[] getCachedServices()↵
|
14 | {↵ | | 14 | {↵
|
15 | return (String[])cachedDockableNames.toArray(↵ | | 15 | return (ServiceManager.Descriptor[])cachedServices.toArray(↵
|
16 | new String[cachedDockableNames.size()]);↵ | | 16 | new ServiceManager.Descriptor[cachedServices.size()]);↵
|
17 | } | | 17 | }
|
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 |