try {
Constructor constr = colClass.getConstructor(new Class[] { Byte.TYPE });
return constr.newInstance(new Object[] { new Byte(Byte.MIN_VALUE) });
} catch (NoSuchMethodException err) {
} catch (InstantiationException err) {
} catch (IllegalAccessException err) {
} catch (InvocationTargetException err) {
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/PowerTableModel.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/gui/util/PowerTableModel.java
|
Method name: Object createDefaultValue(int)
|
|
Method name: Object createDefaultValue(int)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 0
|
|
1 | try {↵ | | | |
2 | Constructor constr = colClass.getConstructor(new Class[] { Byte.TYPE });↵ | | | |
3 | return constr.newInstance(new Object[] { new Byte(Byte.MIN_VALUE) });↵ | | | |
4 | } catch (NoSuchMethodException err) {↵ | | | |
5 | } catch (InstantiationException err) {↵ | | | |
6 | } catch (IllegalAccessException err) {↵ | | | |
7 | } catch (InvocationTargetException err) {↵ | | | |
8 | } | | | |
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 0 |