CloneSet9580


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131813
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java
25231
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/Resources.java
Clone Instance
1
Line Count
3
Source Line
1813
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java

                ResourceAttributes resourceAttributes = resource.getResourceAttributes();
                if (resourceAttributes == null) return; // not supported on this platform for this resource
                resourceAttributes.setReadOnly(readOnly);


Clone Instance
2
Line Count
5
Source Line
231
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/Resources.java

                ResourceAttributes resourceAttributes = resource.getResourceAttributes();
                if (resourceAttributes == null) // not supported on this platform for this resource
                        return;

                resourceAttributes.setReadOnly(readOnly);


Clone AbstractionParameter Count: 0Parameter Bindings

ResourceAttributes resourceAttributes = resource.getResourceAttributes();
if (resourceAttributes == null) // not supported on this platform for this resource
  return; // not supported on this platform for this resource
resourceAttributes.setReadOnly(readOnly);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None