CloneSet2100


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13220.993catch_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113850
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java
213863
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java
Clone Instance
1
Line Count
13
Source Line
850
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java

                  catch (IOException e) {
                        // bad format
                        if (createMarker && this.project.isAccessible()) {
                                        this.createClasspathProblemMarker(new JavaModelStatus(
                                                        IJavaModelStatusConstants.INVALID_CLASSPATH_FILE_FORMAT, 
                                                        Messages.bind(Messages.classpath_xmlFormatError, new String[] {
                                                                                                                       this.getElementName(), e.getMessage()
                                                                                                                      } )));
                        }
                        if (logProblems) {
                                Util.log(e, 
                                        "Exception while retrieving " + this.getPath() //$NON-NLS-1$
                                         + "/.classpath, will mark classpath as invalid"); //$NON-NLS-1$
                        }
                        return INVALID_CLASSPATH;
                  }


Clone Instance
2
Line Count
13
Source Line
863
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java

                  catch (AssertionFailedException e) {
                        // failed creating CP entries from file
                        if (createMarker && this.project.isAccessible()) {
                                this.createClasspathProblemMarker(new JavaModelStatus(
                                                IJavaModelStatusConstants.INVALID_CLASSPATH_FILE_FORMAT, 
                                                Messages.bind(Messages.classpath_illegalEntryInClasspathFile, new String[] {
                                                                                                                            this.getElementName(), e.getMessage()
                                                                                                                           } )));
                        }
                        if (logProblems) {
                                Util.log(e, 
                                        "Exception while retrieving " + this.getPath() //$NON-NLS-1$
                                         + "/.classpath, will mark classpath as invalid"); //$NON-NLS-1$
                        }
                        return INVALID_CLASSPATH;
                  }


Clone AbstractionParameter Count: 2Parameter Bindings

catch ( [[#variable9b243d60]] e) {
  // bad format
  // failed creating CP entries from file
  if (createMarker && this.project.isAccessible()) {
    this.createClasspathProblemMarker(new JavaModelStatus(IJavaModelStatusConstants.INVALID_CLASSPATH_FILE_FORMAT, Messages.bind(Messages. [[#variable9b243d00]], new String[] {
                                                                                                                                                                                 this.getElementName(),
                                                                                                                                                                                 e.getMessage()
                                                                                                                                                                               } )));
  }
  if (logProblems) {
    Util.log(e, "Exception while retrieving " + this.getPath() //$NON-NLS-1$
                 + "/.classpath, will mark classpath as invalid"); //$NON-NLS-1$
  }
  return INVALID_CLASSPATH;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9b243d60]]
IOException 
12[[#9b243d60]]
AssertionFailedException 
21[[#9b243d00]]
classpath_xmlFormatError 
22[[#9b243d00]]
classpath_illegalEntryInClasspathFile