private static Implementation plugin;
/**
* Creates the singleton instance.
*/
private CommonPlugin()
{
super(new ResourceLocator[] {});
}
@Override
public ResourceLocator getPluginResourceLocator()
{
return plugin;
private static Implementation plugin;
/**
* Creates the singleton instance.
*/
private EMFEditPlugin()
{
super(new ResourceLocator[] {});
}
/*
* Javadoc copied from base class.
*/
@Override
public ResourceLocator getPluginResourceLocator()
{
return plugin;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/common/CommonPlugin.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/edit/EMFEditPlugin.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | private static Implementation plugin;↵ | | 1 | private static Implementation plugin;↵
|
|
2 | /**↵ | | 2 | /**↵
|
3 | * Creates the singleton instance.↵ | | 3 | * Creates the singleton instance.↵
|
4 | */↵ | | 4 | */↵
|
5 | private CommonPlugin()↵ | | 5 | private EMFEditPlugin()↵
|
6 | {↵ | | 6 | {↵
|
7 | super(new ResourceLocator[] {});↵ | | 7 | super(new ResourceLocator[] {});↵
|
8 | }↵ | | 8 | }↵
|
|
| | | 9 | /*↵
|
| | | 10 | * Javadoc copied from base class.↵
|
| | | 11 | */↵
|
9 | @Override↵ | | 12 | @Override↵
|
10 | public ResourceLocator getPluginResourceLocator()↵ | | 13 | public ResourceLocator getPluginResourceLocator()↵
|
11 | {↵ | | 14 | {↵
|
12 | return plugin; | | 15 | return plugin;
|
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 |