if (lastWasDelim) {// we saw a delimiter last time strList.add(def);// so add the default } lastWasDelim=true;
for (int i = 0; i < separators.length; i++) { if (ch == separators[i]) { return true; } }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jorphan/util/JOrphanUtils.java File path: /jakarta-jmeter-2.3.2/src/org/apache/commons/cli/avalon/CLArgsParser.java
Method name: String[] split(String, String, String) Method name: boolean isSeparator(char, char[])
Number of AST nodes: 3 Number of AST nodes: 3
1
if (lastWasDelim) {// we saw a delimiter last time
2
                    strList.add(def);// so add the default
3
                }
4
                lastWasDelim=true;
1
for (int i = 0; i < separators.length; i++) {
2
			if (ch == separators[i]) {
3
				return true;
4
			}
5
		}
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 locationClones are in different classes
Number of node comparisons1