| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 2 | 0.970 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 40 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/InternalClassFileEditorInput.java |
| 2 | 7 | 38 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JarEntryEditorInput.java |
| ||||
/*
* @see Object#equals(Object)
*/
public boolean equals(Object obj) {
if (this == obj)
return true;
if ( !(obj instanceof InternalClassFileEditorInput))
return false;
InternalClassFileEditorInput other = (InternalClassFileEditorInput) obj;
return fClassFile.equals(other.fClassFile);
}
|
| ||||
/*
*/
public boolean equals(Object obj) {
if (this == obj)
return true;
if ( !(obj instanceof JarEntryEditorInput))
return false;
JarEntryEditorInput other = (JarEntryEditorInput) obj;
return fJarEntryFile.equals(other.fJarEntryFile);
}
|
| |||
/*
*/
/*
* @see Object#equals(Object)
*/
public boolean equals(Object obj) {
if (this == obj)
return true;
if ( !(obj instanceof [[#variableb562c7a0]]))
return false;
[[#variableb562c7a0]] other = ( [[#variableb562c7a0]]) obj;
return [[#variableb562c6a0]].equals(other. [[#variableb562c6a0]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b562c7a0]] | JarEntryEditorInput |
| 1 | 2 | [[#b562c7a0]] | InternalClassFileEditorInput |
| 2 | 1 | [[#b562c6a0]] | fJarEntryFile |
| 2 | 2 | [[#b562c6a0]] | fClassFile |