Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 2 | 0.969 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 182 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/PropertiesFileCorrectionAssistant.java |
2 | 15 | 117 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/PropertiesFileCorrectionProcessor.java |
| ||||
IAnnotationModel model = null; IEditorInput input = fEditor.getEditorInput(); if ( !(input instanceof IStorageEditorInput)) return -1; ITextFileBufferManager manager = FileBuffers.getTextFileBufferManager(); IPath path = null; try { path = ((IStorageEditorInput) input).getStorage().getFullPath(); if (path == null) return -1; manager.connect(path, null); } catch (CoreException e) { JavaPlugin.log(e.getStatus()); return -1; } |
| ||||
IAnnotationModel model = null; IEditorInput input = part.getEditorInput(); if ( !(input instanceof IStorageEditorInput)) return null; ITextFileBufferManager manager = FileBuffers.getTextFileBufferManager(); IPath path = null; try { path = ((IStorageEditorInput) input).getStorage().getFullPath(); if (path == null) return null; manager.connect(path, null); } catch (CoreException e) { JavaPlugin.log(e.getStatus()); return null; } |
| |||
IAnnotationModel model = null; IEditorInput input = [[#variableb4a04a20]].getEditorInput(); if ( !(input instanceof IStorageEditorInput)) return [[#variableb4a048e0]]; ITextFileBufferManager manager = FileBuffers.getTextFileBufferManager(); IPath path = null; try { path = ((IStorageEditorInput) input).getStorage().getFullPath(); if (path == null) return [[#variableb4a048e0]]; manager.connect(path, null); } catch (CoreException e) { JavaPlugin.log(e.getStatus()); return [[#variableb4a048e0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b4a04a20]] | fEditor |
1 | 2 | [[#b4a04a20]] | part |
2 | 1 | [[#b4a048e0]] | -1 |
2 | 2 | [[#b4a048e0]] | null |