{
gfx.setFont(font);
gfx.setColor(lineNumberColor);
gfx.drawString(String.valueOf(currentPhysicalLine + 1),
(float)pageX,(float)(pageY + y + lm.getHeight()));
try {
PrintStream pout = new PrintStream(
new FileOutputStream( filename ) );
System.setOut( pout );
System.setErr( pout );
} catch ( IOException e )
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/print/BufferPrintable.java
|
|
File path: /jEdit-4.2/src/bsh/Interpreter.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | {↵ | | 1 | try {↵
|
2 | gfx.setFont(font);↵ | | 2 | ↵
|
3 | gfx.setColor(lineNumberColor);↵ | | |
|
4 | gfx.drawString(String.valueOf(currentPhysicalLine + 1),↵ | | |
|
5 | (float)pageX,(float)(pageY + y + lm.getHeight()));↵ | | |
|
6 | | | 3 | PrintStream pout = new PrintStream( ↵
|
| | | 4 | new FileOutputStream( filename ) );↵
|
| | | 5 | System.setOut( pout );↵
|
| | | 6 | System.setErr( pout );↵
|
| | | 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 |