Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.993 | catch_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 850 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProject.java |
2 | 13 | 863 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9b243d60]] | IOException |
1 | 2 | [[#9b243d60]] | AssertionFailedException |
2 | 1 | [[#9b243d00]] | classpath_xmlFormatError |
2 | 2 | [[#9b243d00]] | classpath_illegalEntryInClasspathFile |