protected void sizeColumns(JTable table) { int resizeMode = table.getAutoResizeMode(); table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); fixSize(table.getColumn(INCLUDE_EQUALS)); fixSize(table.getColumn(ENCODE_OR_NOT)); table.setAutoResizeMode(resizeMode);
private void sizeColumns(JTable table) { int resizeMode = table.getAutoResizeMode(); table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); fixSize(table.getColumn(PARAMNAME)); fixSize(table.getColumn(MIMETYPE)); table.setAutoResizeMode(resizeMode);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/gui/HTTPArgumentsPanel.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/gui/HTTPFileArgsPanel.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
protected void sizeColumns(JTable table) {
1
private void sizeColumns(JTable table) {
2
		int resizeMode = table.getAutoResizeMode();
2
        int resizeMode = table.getAutoResizeMode();
3
		table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
3
        table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
4
		fixSize(table.getColumn(INCLUDE_EQUALS));
4
        fixSize(table.getColumn(
5
		
5
PARAMNAME));
6
fixSize(table.getColumn(ENCODE_OR_NOT));
6
        fixSize(table.getColumn(
7
		
7
MIMETYPE));
8
table.setAutoResizeMode(resizeMode);
8
        table.setAutoResizeMode(resizeMode);
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