public boolean isSupported(String command) throws IOException { fetchCapas(); for (int i = 0; i < capabilities.length; i++) { if (capabilities[i].startsWith(command)) { return true; } } return false;
protected boolean isSupported(String command) throws IOException { fetchCapas(); for (int i = 0; i < capas.length; i++) { if (capas[i].startsWith(command)) { return true; } } return false;
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/imap/IMAPServer.java File path: /columba-1.4-src/mail/src/main/java/org/columba/mail/pop3/POP3Store.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public boolean isSupported(String command) throws IOException {
1
protected boolean isSupported(String command) throws IOException {
2
		fetchCapas();
2
		fetchCapas();
3
		for (int i = 0; i < capabilities.length; i++) {
3
		for (int i = 0; i < capas.length; i++) {
4
			if (capabilities[i].startsWith(command)) {
4
			if (capas[i].startsWith(command)) {
5
				return true;
5
				return true;
6
			}
6
			}
7
		}
7
		}
8
		return false;
8
		return false;
9
	
9
	
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