Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 0 | 1.000 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 1574 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java |
2 | 13 | 1744 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/ClasspathEntry.java |
| ||||
// Validate extra attributes IClasspathAttribute[] extraAttributes = entry.getExtraAttributes(); if (extraAttributes != null) { int length = extraAttributes.length; HashSet set = new HashSet(length); for (int i = 0; i < length; i++) { String attName = extraAttributes[i].getName(); if ( !set.add(attName)) { return new JavaModelStatus(IJavaModelStatusConstants.NAME_COLLISION, Messages.bind(Messages.classpath_duplicateEntryExtraAttribute, new String[] { attName, entryPathMsg, projectName } )); } } } // don't create a marker if initialization is in progress (case of cp initialization batching) return JavaModelStatus.VERIFIED_OK; |
| ||||
// Validate extra attributes IClasspathAttribute[] extraAttributes = entry.getExtraAttributes(); if (extraAttributes != null) { int length = extraAttributes.length; HashSet set = new HashSet(length); for (int i = 0; i < length; i++) { String attName = extraAttributes[i].getName(); if ( !set.add(attName)) { return new JavaModelStatus(IJavaModelStatusConstants.NAME_COLLISION, Messages.bind(Messages.classpath_duplicateEntryExtraAttribute, new String[] { attName, entryPathMsg, projectName } )); } } } return JavaModelStatus.VERIFIED_OK; |
| |||
// Validate extra attributes IClasspathAttribute[] extraAttributes = entry.getExtraAttributes(); if (extraAttributes != null) { int length = extraAttributes.length; HashSet set = new HashSet(length); for (int i = 0; i < length; i++) { String attName = extraAttributes[i].getName(); if ( !set.add(attName)) { return new JavaModelStatus(IJavaModelStatusConstants.NAME_COLLISION, Messages.bind(Messages.classpath_duplicateEntryExtraAttribute, new String[] { attName, entryPathMsg, projectName } )); } } } // don't create a marker if initialization is in progress (case of cp initialization batching) return JavaModelStatus.VERIFIED_OK; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |