Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.979 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 261 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewFlatContentProvider.java |
2 | 6 | 639 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java |
| ||||
private void postRefresh( final Object element) { postRunnable(new Runnable() { public void run() { Control ctrl = fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) { fViewer.refresh(element); } } } ); } |
| ||||
protected void postRemove( final Object element) { postRunnable(new Runnable() { public void run() { Control ctrl = fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) { fViewer.remove(element); } } } ); } |
| |||
[[#variable571e98c0]]void [[#variable571e9880]]( final Object element) { postRunnable(new Runnable() { public void run() { Control ctrl = fViewer.getControl(); if (ctrl != null && !ctrl.isDisposed()) { fViewer. [[#variable571e9920]](element); } } } ); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#571e98c0]] | protected |
1 | 2 | [[#571e98c0]] | private |
2 | 1 | [[#571e9880]] | postRemove |
2 | 2 | [[#571e9880]] | postRefresh |
3 | 1 | [[#571e9920]] | remove |
3 | 2 | [[#571e9920]] | refresh |