| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 1 | 3 | 1 | 0.974 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 1 | 68 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/AddJarFileToIndex.java |
| 2 | 1 | 86 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexAllProject.java |
| 3 | 1 | 94 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/indexing/IndexAllProject.java |
| ||||
// if index is already cached, then do not perform any check
// MUST reset the IndexManager if a jar file is changed
Index index = this.manager.getIndexForUpdate(this.containerPath, false,
/*do not reuse index file*/
false
/*do not create if none*/
);
|
| ||||
// nothing to index but want to save an empty index file so its not 'rebuilt' when part of a search request
Index index = this.manager.getIndexForUpdate(this.containerPath, true,
/*reuse index file*/
true
/*create if none*/
);
|
| ||||
Index index = this.manager.getIndexForUpdate(this.containerPath, true,
/*reuse index file*/
true
/*create if none*/
);
|
| |||
// if index is already cached, then do not perform any check
// MUST reset the IndexManager if a jar file is changed
// nothing to index but want to save an empty index file so its not 'rebuilt' when part of a search request
Index index = this.manager.getIndexForUpdate(this.containerPath, [[#variable5d47a9c0]], [[#variable5d47a9c0]]
/*do not create if none*/
/*create if none*/
);
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5d47a9c0]] | false |
| 1 | 2 | [[#5d47a9c0]] | true |
| 1 | 3 | [[#5d47a9c0]] | true |