CloneSet4197


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.976block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1937
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileDocumentSetupParticipant.java
29366
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaTextTools.java
Clone Instance
1
Line Count
9
Source Line
37
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileDocumentSetupParticipant.java

                                                             {
                IDocumentPartitioner partitioner = createDocumentPartitioner();
                if (document instanceof IDocumentExtension3) {
                        IDocumentExtension3 extension3 = (IDocumentExtension3) document;
                        extension3.setDocumentPartitioner(IPropertiesFilePartitions.PROPERTIES_FILE_PARTITIONING, partitioner);
                }
                else   {
                        document.setDocumentPartitioner(partitioner);
                }
                partitioner.connect(document);
                                                             }


Clone Instance
2
Line Count
9
Source Line
366
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaTextTools.java

                                                                                          {
                IDocumentPartitioner partitioner = createDocumentPartitioner();
                if (document instanceof IDocumentExtension3) {
                        IDocumentExtension3 extension3 = (IDocumentExtension3) document;
                        extension3.setDocumentPartitioner(partitioning, partitioner);
                }
                else   {
                        document.setDocumentPartitioner(partitioner);
                }
                partitioner.connect(document);
                                                                                          }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  IDocumentPartitioner partitioner = createDocumentPartitioner();
  if (document instanceof IDocumentExtension3) {
    IDocumentExtension3 extension3 = (IDocumentExtension3) document;
    extension3.setDocumentPartitioner( [[#variable9efec340]], partitioner);
  }
  else {
    document.setDocumentPartitioner(partitioner);
  }
  partitioner.connect(document);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9efec340]]
IPropertiesFilePartitions.PROPERTIES_FILE_PARTITIONING 
12[[#9efec340]]
partitioning