String retVal = (String)JOptionPane.showInputDialog(comp,
jEdit.getProperty(name.concat(".message"),args),
jEdit.getProperty(name.concat(".title")),
JOptionPane.QUESTION_MESSAGE,null,null,def);
String retVal = (String)JOptionPane.showInputDialog(comp,
jEdit.getProperty(name.concat(".message"),args),
jEdit.getProperty(name.concat(".title")),
JOptionPane.QUESTION_MESSAGE,
null,null,jEdit.getProperty(def));
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/GUIUtilities.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/GUIUtilities.java
|
Method name: String input(Component, String, Object[], Object)
|
|
Method name: String inputProperty(Component, String, Object[], String)
|
Number of AST nodes: 1
|
|
Number of AST nodes: 1
|
|
1 | String retVal = (String)JOptionPane.showInputDialog(comp,↵ | | 1 | String retVal = (String)JOptionPane.showInputDialog(comp,↵
|
2 | jEdit.getProperty(name.concat(".message"),args),↵ | | 2 | jEdit.getProperty(name.concat(".message"),args),↵
|
3 | jEdit.getProperty(name.concat(".title")),↵ | | 3 | jEdit.getProperty(name.concat(".title")),↵
|
4 | JOptionPane.QUESTION_MESSAGE,↵ | | 4 | JOptionPane.QUESTION_MESSAGE,↵
|
5 | null,null,def); | | 5 | null,null,jEdit.getProperty(def));
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 1 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are declared in the same class |
Number of node comparisons | 1 |
-
{Non-refactorable}
Mapping Summary
Number of mapped statements | 0 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Unknown type |
Mapped Statements
ID |
Statement |
|
ID |
Statement |
Precondition Violations (0)
Row |
Violation |