private String pushElement(String name) { name = (name == null) ? null : name.intern(); stateStack.push(name); return name; } private String peekElement() { return (String) stateStack.peek(); } private String popElement() { return (String) stateStack.pop();
private String pushElement(String name) { name = (name == null) ? null : name.intern(); stateStack.push(name); return name; } private String peekElement() { return (String) stateStack.peek(); } private String popElement() { return (String) stateStack.pop();
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/pluginmgr/MirrorListHandler.java File path: /jEdit-4.2/src/org/gjt/sp/jedit/pluginmgr/PluginListHandler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
private String pushElement(String name)
1
private String pushElement(String name)
2
	{
2
	{
3
		name = (name == null) ? null : name.intern();
3
		name = (name == null) ? null : name.intern();
4
		stateStack.push(name);
4
		stateStack.push(name);
5
		return name;
5
		return name;
6
	}
6
	}
7
	private String peekElement()
7
	private String peekElement()
8
	{
8
	{
9
		return (String) stateStack.peek();
9
		return (String) stateStack.peek();
10
	}
10
	}
11
	private String popElement()
11
	private String popElement()
12
	{
12
	{
13
		return (String) stateStack.pop();
13
		return (String) stateStack.pop();
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