CloneSet7450


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.990executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17204
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/RecentSettingsStore.java
28220
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/RecentSettingsStore.java
Clone Instance
1
Line Count
7
Source Line
204
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/RecentSettingsStore.java

                                     {
                        // The Javadoc.xml file can only be stored locally. So if
                        // the project isn't local then we can't provide a good 
                        // default location.
                        IPath path = project.getProject().getLocation();
                        if (path != null)
                                return path.append("javadoc.xml").toOSString(); //$NON-NLS-1$
                                     }


Clone Instance
2
Line Count
8
Source Line
220
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/RecentSettingsStore.java

                                                                              { //$NON-NLS-1$
                                // Since Javadoc.exe is a local tool its output is local.
                                // So if the project isn't local then the default location
                                // can't be local to a project. So use #getLocation() to
                                // test this is fine here.
                                IPath path = project.getProject().getLocation();
                                if (path != null)
                                        return path.append("doc").toOSString(); //$NON-NLS-1$
                                                                              }


Clone AbstractionParameter Count: 1Parameter Bindings

{ //$NON-NLS-1$
  // The Javadoc.xml file can only be stored locally. So if
  // the project isn't local then we can't provide a good 
  // default location.
  // Since Javadoc.exe is a local tool its output is local.
  // So if the project isn't local then the default location
  // can't be local to a project. So use #getLocation() to
  // test this is fine here.
  IPath path = project.getProject().getLocation();
  if (path != null)
    return path.append( [[#variable58a64c20]]).toOSString(); //$NON-NLS-1$
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58a64c20]]
"javadoc.xml" 
12[[#58a64c20]]
"doc"