for( int i=0; i<consArgs.length; i++ ) { try { consArgsNameSpace.setTypedVariable( consArgNames[i], consArgTypes[i], consArgs[i], null/*modifiers*/); } catch ( UtilEvalError e ) { throw new InterpreterError("err setting local cons arg:"+e);
if(cachedActionNames != null) { for(int i = 0; i < cachedActionNames.length; i++) { actions.put(cachedActionNames[i],placeholder); jEdit.setTemporaryProperty(cachedActionNames[i] + ".toggle",cachedActionToggleFlags[i] ? "true" : "false");
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/bsh/ClassGeneratorUtil.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/ActionSet.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if(cachedActionNames != null)
2
		{
1
for( int i=0; i<consArgs.length; i++ )
3
			for(int i = 0; i <
2
		{
3
			try {
4
				consArgsNameSpace.setTypedVariable( 
5
					consArgNames[i], consArgTypes[i], consArg
4
 cachedActionNames.length; i++)
5
			{
6
				actions.put(cachedActionNames[i],placeholder);
6
s[i], 
7
				jEdit.setTemporaryProperty(cachedActionNames[i]
7
					null/*modifiers*/);
8
					
8
			} catch ( UtilEvalError e ) {
9
+ ".toggle",cach
9
				throw new InterpreterError("err setting local cons arg:"+e
10
edActionToggleFlags[i]
10
);
11
					? "true" : "false");
11
			
12
			
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