CloneSet7518


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14220.959finally_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114246
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java
2359
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/ScannerUtil.java
Clone Instance
1
Line Count
14
Source Line
246
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/generatedfile/GeneratedFileManager.java

                                finally {
                                        if (oldData != null) {
                                                try {
                                                        oldData.close();
                                                }
                                                catch (IOException ioe)
                                                {
                                                }
                                        }
                                        if (is != null) {
                                                try {
                                                        is.close();
                                                }
                                                catch (IOException ioe)
                                                {
                                                }
                                        }
                                }


Clone Instance
2
Line Count
3
Source Line
59
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/ScannerUtil.java

                finally {
                        if (reader != null) {
                                              try {
                                                   reader.close();
                                              }                     catch (IOException ioe) {
                                                                    }
                        }
                        if (input != null) {
                                             try {
                                                  input.close();
                                             }                    catch (IOException ioe) {
                                                                  }
                        }
                }


Clone AbstractionParameter Count: 2Parameter Bindings

finally {
  if ( [[#variable59082440]]!= null) {
    try {
       [[#variable59082440]].close();
    }
    catch (IOException ioe) {
    }
  }
  if ( [[#variable590823a0]]!= null) {
    try {
       [[#variable590823a0]].close();
    }
    catch (IOException ioe) {
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59082440]]
oldData 
12[[#59082440]]
reader 
21[[#590823a0]]
is 
22[[#590823a0]]
input