CloneSet2823


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18117
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JREContainer.java
28208
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JRERuntimeClasspathEntryResolver.java
Clone Instance
1
Line Count
8
Source Line
117
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JREContainer.java

                                if (overrideJavaDoc && javadocLocation == null) {
                                        javadocLocation = vm.getJavadocLocation();
                                }
                                IClasspathAttribute[] attributes = null;
                                if (javadocLocation == null) {
                                        attributes = new IClasspathAttribute[0];
                                }
                                else   {
                                        attributes = new IClasspathAttribute[] {
                                                                                JavaCore.newClasspathAttribute(IClasspathAttribute.JAVADOC_LOCATION_ATTRIBUTE_NAME, javadocLocation.toExternalForm())
                                                                               };
                                }


Clone Instance
2
Line Count
8
Source Line
208
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JRERuntimeClasspathEntryResolver.java

                if (overrideJavaDoc && javadocLocation == null) {
                        javadocLocation = vm.getJavadocLocation();
                }
                IClasspathAttribute[] attributes = null;
                if (javadocLocation == null) {
                        attributes = new IClasspathAttribute[0];
                }
                else   {
                        attributes = new IClasspathAttribute[] {
                                                                JavaCore.newClasspathAttribute(IClasspathAttribute.JAVADOC_LOCATION_ATTRIBUTE_NAME, javadocLocation.toExternalForm())
                                                               };
                }


Clone AbstractionParameter Count: 0Parameter Bindings

if (overrideJavaDoc && javadocLocation == null) {
  javadocLocation = vm.getJavadocLocation();
}
IClasspathAttribute[] attributes = null;
if (javadocLocation == null) {
  attributes = new IClasspathAttribute[0];
}
else {
  attributes = new IClasspathAttribute[] {
                                           JavaCore.newClasspathAttribute(IClasspathAttribute.JAVADOC_LOCATION_ATTRIBUTE_NAME, javadocLocation.toExternalForm())
                                         };
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None