try { PrintStream pout = new PrintStream( new FileOutputStream( filename ) ); System.setOut( pout ); System.setErr( pout ); } catch ( IOException e )
{ String str = obj.toString(); dout.writeInt(str.length()); dout.writeChars(str);
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/bsh/Interpreter.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/PluginJAR.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
try {
1
{
2
			PrintStream pout = new PrintStream( 
2
			
3
				new FileOutputStream( filename ) );
4
			System.setOut( pout );
5
			System.setErr( pout );
6
		} catch ( IOException e ) 
3
	String str = obj.toString();
4
				dout.writeInt(str.length());
5
				dout.writeChars(str);
6
			
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