Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 1 | 0.964 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 57 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SquirrelDefaultUndoManager.java |
2 | 14 | 97 | E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/SquirrelDefaultUndoManager.java |
| |||||
{ UndoableEdit edit = edits.elementAt(i--); if (edit.isSignificant()) { if (edit instanceof AbstractDocument.DefaultDocumentEvent) { if (DocumentEvent.EventType.CHANGE != ((AbstractDocument.DefaultDocumentEvent) edit).getType()) { return edit; } } else { return edit; } } } |
| |||||
{ UndoableEdit edit = edits.elementAt(i++); if (edit.isSignificant()) { if (edit instanceof AbstractDocument.DefaultDocumentEvent) { if (DocumentEvent.EventType.CHANGE != ((AbstractDocument.DefaultDocumentEvent) edit).getType()) { return edit; } } else { return edit; } } } |
| |||
{ UndoableEdit edit = edits.elementAt( [[#variable1cd340a0]]); if (edit.isSignificant()) { if (edit instanceof AbstractDocument.DefaultDocumentEvent) { if (DocumentEvent.EventType.CHANGE != ((AbstractDocument.DefaultDocumentEvent) edit).getType()) { return edit; } } else { return edit; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cd340a0]] | i-- |
1 | 2 | [[#1cd340a0]] | i++ |