CloneSet2559


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.996statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18104
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/JavaBuilder.java
28131
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/JavaBuilder.java
Clone Instance
1
Line Count
8
Source Line
104
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/JavaBuilder.java

                        resource.deleteMarkers(IJavaModelMarker.JAVA_MODEL_PROBLEM_MARKER, false, IResource.DEPTH_INFINITE);

                        // delete managed markers
                        Set markerTypes = JavaModelManager.getJavaModelManager().compilationParticipants.managedMarkerTypes();
                        if (markerTypes.size() == 0) return;
                        Iterator iterator = markerTypes.iterator();
                        while (iterator.hasNext())
                                resource.deleteMarkers((String) iterator.next(), false, IResource.DEPTH_INFINITE);


Clone Instance
2
Line Count
8
Source Line
131
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder/JavaBuilder.java

                        resource.deleteMarkers(IJavaModelMarker.TASK_MARKER, false, IResource.DEPTH_INFINITE);

                        // delete managed markers
                        Set markerTypes = JavaModelManager.getJavaModelManager().compilationParticipants.managedMarkerTypes();
                        if (markerTypes.size() == 0) return;
                        Iterator iterator = markerTypes.iterator();
                        while (iterator.hasNext())
                                resource.deleteMarkers((String) iterator.next(), false, IResource.DEPTH_INFINITE);


Clone AbstractionParameter Count: 1Parameter Bindings

resource.deleteMarkers(IJavaModelMarker. [[#variable508f9e60]], false, IResource.DEPTH_INFINITE);
// delete managed markers
Set markerTypes = JavaModelManager.getJavaModelManager().compilationParticipants.managedMarkerTypes();
if (markerTypes.size() == 0)
  return;
Iterator iterator = markerTypes.iterator();
while (iterator.hasNext())
  resource.deleteMarkers((String) iterator.next(), false, IResource.DEPTH_INFINITE);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#508f9e60]]
JAVA_MODEL_PROBLEM_MARKER 
12[[#508f9e60]]
TASK_MARKER