if(jEditHome != null)
{
String systemPluginDir = MiscUtilities
.constructPath(jEditHome,"jars");
String[] list = new File(systemPluginDir).list();
if(list != null)
getNotLoadedPluginJARs(returnValue,systemPluginDir,list);
}
if(settingsDirectory != null)
{
String userPluginDir = MiscUtilities
.constructPath(settingsDirectory,"jars");
String[] list = new File(userPluginDir).list();
if(list != null)
{
getNotLoadedPluginJARs(returnValue,
userPluginDir,list);
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/jEdit.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/jEdit.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | if(jEditHome != null)↵ | | 1 | if(settingsDirectory != null)↵
|
2 | {↵ | | 2 | {↵
|
3 | String systemPluginDir = MiscUtilities↵ | | 3 | String userPluginDir = MiscUtilities↵
|
4 | .constructPath(jEditHome,"jars");↵ | | 4 | .constructPath(settingsDirectory,"jars");↵
|
|
5 | String[] list = new File(systemPluginDir).list();↵ | | 5 | String[] list = new File(userPluginDir).list();↵
|
6 | if(list != null)↵ | | 6 | if(list != null)↵
|
7 | ↵ | | 7 | {↵
|
8 | getNotLoadedPluginJARs(returnValue,system↵ | | 8 | getNotLoadedPluginJARs(returnValue,↵
|
9 | PluginDir,list);↵ | | 9 | userPluginDir,list);↵
|
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 |