try { PrintStream pout = new PrintStream( new FileOutputStream( filename ) ); System.setOut( pout ); System.setErr( pout ); } catch ( IOException e )
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/bsh/Interpreter.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
try {
1
try {
2
			PrintStream pout = new PrintStream( 
2
			FileOutputStream out= 
3
				new FileOutputStream( filename ) );
3
				new FileOutputStream( 
4
			System.setOut( pout );
5
			System.setErr( pout 
4
dir+"/"+className+".class" );
5
			out.write(code);
6
);
6
			out.close();
7
		} catch ( IOException e ) 
7
		} catch ( IOException e ) { 
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0