File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/preferences/ProxyPreferencesPanel.java | File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/properties/SessionObjectTreePropertiesPanel.java | |||
Method name: void loadData(IApplication, SquirrelPreferences)
|
Method name: void loadData(SessionProperties)
|
|||
Number of AST nodes: 11 | Number of AST nodes: 11 | |||
1 | final IProxySettings proxySettings = prefs.getProxySettings();↵ | |||
2 | _httpUseProxy↵ | 1 | _contentsNbrRowsToShowField.setInt(props.getContentsNbrRowsToShow());↵ | |
3 | Chk.setSelected(proxySettings.getHttpUseProxy());↵ | 2 | _contentsLimitRowsChk.setSelected(pro↵ | |
4 | _httpProxyServer.setText(proxySettings.getHttpProxyServer());↵ | |||
5 | _httpProxyPort.setText(proxySettings.getHttpProxyPort());↵ | |||
6 | _httpNonProxyHosts↵ | 3 | ps.getContentsLimitRows());↵ | |
4 | _showRowCountChk.setSelected(props.getShowRowCount());↵ | |||
5 | _loadSchemasCatalogsChk.setSelected(props.getLoadSchemasCatalogs());↵ | |||
7 | .setText(proxySettings.getHttpNonProxyHosts());↵ | 6 | _catalogFilterInclude.setText(pro↵ | |
8 | _httpProxyUser.setText(proxySettings.getHttpProxyUser());↵ | |||
9 | _httpProxyPassword.setText(proxySettings.getHttpProxyPassword());↵ | |||
10 | _socksUseProxyChk.setSelected(proxySettings.getSocksUseProxy());↵ | |||
11 | _socksProxyServer↵ | 7 | ps.getCatalogFilterInclude());↵ | |
8 | _schemaFilterInclude.setText(props.getSchemaFilterInclude());↵ | |||
9 | _objectFilterInclude.setText(props.getObjectFilterInclude());↵ | |||
10 | _catalogFilterExclude.setText(props.getCatalogFilterExclude());↵ | |||
12 | .setText(proxySettings.getSocksProxyServer());↵ | 11 | _schemaFilterExclude.setText(pro↵ | |
13 | _socksProxyPort↵ | 12 | ps.getSchemaFilterExclude());↵ | |
14 | .setText(proxySettings.getSocksProxyPort());↵ | 13 | _objectFilterExclude.setText(props.getObjectFilterExclude());↵ | |
15 | updateControlStatus(); | 14 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 121 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 10 |
Number of unmapped statements in the second code fragment | 10 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
| 1 | _contentsNbrRowsToShowField.setInt(props.getContentsNbrRowsToShow()); | ||
1 | final IProxySettings proxySettings = prefs.getProxySettings(); | | ||
| 2 | _contentsLimitRowsChk.setSelected(props.getContentsLimitRows()); | ||
2 | _httpUseProxyChk.setSelected(proxySettings.getHttpUseProxy()); | | ||
| 3 | _showRowCountChk.setSelected(props.getShowRowCount()); | ||
3 | _httpProxyServer.setText(proxySettings.getHttpProxyServer()); | | ||
| 4 | _loadSchemasCatalogsChk.setSelected(props.getLoadSchemasCatalogs()); | ||
4 | _httpProxyPort.setText(proxySettings.getHttpProxyPort()); | | ||
| 5 | _catalogFilterInclude.setText(props.getCatalogFilterInclude()); | ||
5 | _httpNonProxyHosts.setText(proxySettings.getHttpNonProxyHosts()); | | ||
| 6 | _schemaFilterInclude.setText(props.getSchemaFilterInclude()); | ||
6 | _httpProxyUser.setText(proxySettings.getHttpProxyUser()); | | ||
| 7 | _objectFilterInclude.setText(props.getObjectFilterInclude()); | ||
7 | _httpProxyPassword.setText(proxySettings.getHttpProxyPassword()); | | ||
| 8 | _catalogFilterExclude.setText(props.getCatalogFilterExclude()); | ||
8 | _socksUseProxyChk.setSelected(proxySettings.getSocksUseProxy()); | | ||
| 9 | _schemaFilterExclude.setText(props.getSchemaFilterExclude()); | ||
9 | _socksProxyServer.setText(proxySettings.getSocksProxyServer()); | | ||
| 10 | _objectFilterExclude.setText(props.getObjectFilterExclude()); | ||
10 | _socksProxyPort.setText(proxySettings.getSocksProxyPort()); | | ||
11 | updateControlStatus(); | 11 | updateControlStatus(); |
Row | Violation |
---|