{
Graphics2D g2 = (Graphics2D)g;
g2.setComposite(c);
super.paint(g2);
try {
FileOutputStream out=
new FileOutputStream( dir+"/"+className+".class" );
out.write(code);
out.close();
} catch ( IOException e ) {
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/RolloverButton.java
|
|
File path: /jEdit-4.2/src/bsh/ClassGeneratorImpl.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | {↵ | | 1 | try {↵
|
2 | Graphics2D g2 = (Graphics2D)g;↵ | | 2 | ↵
|
3 | g2.setCompos↵ | | 3 | FileOutputStream out= ↵
|
| | | 4 | new FileOutputStream( dir+"/"+className+".class" );↵
|
4 | ite(c);↵ | | 5 | out.write(code);↵
|
5 | super.paint(g2);↵ | | 6 | ↵
|
6 | | | 7 | out.close();↵
|
| | | 8 | } catch ( IOException e ) {
|
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 | |
Number of node comparisons | 0 |