Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
23 | 2 | 0 | 1.000 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 23 | 114 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewFlatContentProvider.java |
2 | 23 | 427 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java |
| ||||
final IJavaElement element = delta.getElement(); if (isClassPathChange(delta)) { Object input = fViewer.getInput(); if (input != null) { if (fInputIsProject && input.equals(element.getJavaProject())) { postRefresh(input); return; } else if ( !fInputIsProject && input.equals(element)) { if (element.exists()) postRefresh(input); else postRemove(input); return; } } } if (kind == IJavaElementDelta.REMOVED) { Object input = fViewer.getInput(); if (input != null && input.equals(element)) { postRemove(input); return; } } |
| ||||
final IJavaElement element = delta.getElement(); if (isClassPathChange(delta)) { Object input = fViewer.getInput(); if (input != null) { if (fInputIsProject && input.equals(element.getJavaProject())) { postRefresh(input); return; } else if ( !fInputIsProject && input.equals(element)) { if (element.exists()) postRefresh(input); else postRemove(input); return; } } } if (kind == IJavaElementDelta.REMOVED) { Object input = fViewer.getInput(); if (input != null && input.equals(element)) { postRemove(input); return; } } |
| |||
final IJavaElement element = delta.getElement(); if (isClassPathChange(delta)) { Object input = fViewer.getInput(); if (input != null) { if (fInputIsProject && input.equals(element.getJavaProject())) { postRefresh(input); return; } else if ( !fInputIsProject && input.equals(element)) { if (element.exists()) postRefresh(input); else postRemove(input); return; } } } if (kind == IJavaElementDelta.REMOVED) { Object input = fViewer.getInput(); if (input != null && input.equals(element)) { postRemove(input); return; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |