final SQLDriverProperty sdp = _props.getDriverProperty(row);
Boolean bool = Boolean.valueOf(value.toString());
sdp.setIsSpecified(bool.booleanValue());
final ArtifactStatus as = _artifacts.get(row);
ArtifactAction action =
ArtifactAction.valueOf(value.toString());
as.setArtifactAction(action);
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/db/aliasproperties/DriverPropertiesTableModel.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/update/gui/UpdateSummaryTableModel.java
|
Method name: void setValueAt(Object, int, int)
|
|
Method name: void setValueAt(Object, int, int)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | final SQLDriverProperty sdp = _props.getDriverProperty(row);↵ | | 1 | final ↵
|
2 | Boolean bool = Boolean.valueOf(value.toString());↵ | | |
|
3 | sdp.setIsSpecified(bool.booleanValue()↵ | | 2 | ArtifactStatus as = _artifacts.get(row);↵
|
| | | 3 | ArtifactAction action = ↵
|
| | | 4 | ArtifactAction.valueOf(value.toString()); ↵
|
4 | ); | | 5 | as.setArtifactAction(action);
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 9 |