CloneSet1282


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111130
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWriter.java
211254
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWriter.java
Clone Instance
1
Line Count
11
Source Line
130
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWriter.java

                //set the packages and source files
                List packages = new ArrayList();
                List sourcefiles = new ArrayList();
                sortSourceElement(store.getSourceElements(), sourcefiles, packages);
                if ( !packages.isEmpty())
                        xmlJavadocDesc.setAttribute(store.PACKAGENAMES, toSeparatedList(packages));

                if ( !sourcefiles.isEmpty())
                        xmlJavadocDesc.setAttribute(store.SOURCEFILES, toSeparatedList(sourcefiles));

                xmlJavadocDesc.setAttribute(store.SOURCEPATH, getPathString(store.getSourcepath()));
                xmlJavadocDesc.setAttribute(store.CLASSPATH, getPathString(store.getClasspath()));


Clone Instance
2
Line Count
11
Source Line
254
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javadocexport/JavadocWriter.java

                //set the packages and source files
                List packages = new ArrayList();
                List sourcefiles = new ArrayList();
                sortSourceElement(store.getSourceElements(), sourcefiles, packages);
                if ( !packages.isEmpty())
                        xmlJavadocDesc.setAttribute(store.PACKAGENAMES, toSeparatedList(packages));

                if ( !sourcefiles.isEmpty())
                        xmlJavadocDesc.setAttribute(store.SOURCEFILES, toSeparatedList(sourcefiles));

                xmlJavadocDesc.setAttribute(store.SOURCEPATH, getPathString(store.getSourcepath()));
                xmlJavadocDesc.setAttribute(store.CLASSPATH, getPathString(store.getClasspath()));


Clone AbstractionParameter Count: 0Parameter Bindings

//set the packages and source files
List packages = new ArrayList();
List sourcefiles = new ArrayList();
sortSourceElement(store.getSourceElements(), sourcefiles, packages);
if ( !packages.isEmpty())
  xmlJavadocDesc.setAttribute(store.PACKAGENAMES, toSeparatedList(packages));
if ( !sourcefiles.isEmpty())
  xmlJavadocDesc.setAttribute(store.SOURCEFILES, toSeparatedList(sourcefiles));
xmlJavadocDesc.setAttribute(store.SOURCEPATH, getPathString(store.getSourcepath()));
xmlJavadocDesc.setAttribute(store.CLASSPATH, getPathString(store.getClasspath()));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None