{
String line = st.nextToken();
text.addElement(line);
maxWidth = Math.max(maxWidth,
fm.stringWidth(line) + 10);
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/AboutDialog.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 | String line = st.nextToken();↵ | | 2 | ↵
|
3 | text.addElement(line);↵ | | |
|
4 | maxWidth = Math.max(maxWidth,↵ | | |
|
5 | fm.stringWidth(line) + 10);↵ | | |
|
6 | | | 3 | FileOutputStream out= ↵
|
| | | 4 | new FileOutputStream( dir+"/"+className+".class" );↵
|
| | | 5 | out.write(code);↵
|
| | | 6 | out.close();↵
|
| | | 7 | } 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 |