CloneSet4119


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.970class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1740
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/InternalClassFileEditorInput.java
2738
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JarEntryEditorInput.java
Clone Instance
1
Line Count
7
Source Line
40
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/InternalClassFileEditorInput.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);
        }


Clone Instance
2
Line Count
7
Source Line
38
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JarEntryEditorInput.java

        /*
         */
        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);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
         */
/*
         * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b562c7a0]]
JarEntryEditorInput 
12[[#b562c7a0]]
InternalClassFileEditorInput 
21[[#b562c6a0]]
fJarEntryFile 
22[[#b562c6a0]]
fClassFile