private void addRemoveMultiLineCommentCheckBox(JPanel panel, int col, int row)
{
GridBagConstraints c = new GridBagConstraints();
c.gridx = col;
c.gridy = row;
c.gridwidth = 2; // Span across two columns
c.insets = new Insets(5, 30, 0, 0);
String cbLabel = i18n.REMOVE_ML_COMMENT_LABEL;
removeMultiLineCommentCheckBox = new JCheckBox(cbLabel);
removeMultiLineCommentCheckBox.setToolTipText(i18n.REMOVE_ML_COMMENT_LABEL_TT);
panel.add(removeMultiLineCommentCheckBox, c);
private void addDelayTablesLabel(JPanel panel, int col, int row) {
GridBagConstraints c = new GridBagConstraints();
c.gridx = col;
c.gridy = row;
c.insets = new Insets(5,25,0,0);
String label =
s_stringMgr.getString("PreferencesPanel.delayTablesLabel");
delayTablesLabel = new JLabel(label);
delayTablesLabel.setHorizontalAlignment(JLabel.LEFT);
panel.add(delayTablesLabel, c);
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/plugin/gui/PluginQueryTokenizerPreferencesPanel.java
|
|
File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/gui/PreferencesPanel.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | private void addRemoveMultiLineCommentCheckBox(JPanel panel, int col, int row)↵ | | 1 | private void addDelayTablesLabel(JPanel panel, int col, int row)↵
|
2 | {↵ | | |
|
3 | ↵ | | 2 | {↵
|
4 | GridBagConstraints c = new GridBagConstraints();↵ | | 3 | GridBagConstraints c = new GridBagConstraints();↵
|
5 | c.gridx = col;↵ | | 4 | c.gridx = col;↵
|
6 | c.gridy = row;↵ | | 5 | c.gridy = row;↵
|
7 | c.gridwidth = 2; // Span across two columns↵ | | |
|
8 | ↵ | | 6 | ↵
|
9 | c.insets = new Insets(5, 30, 0, 0);↵ | | 7 | c.insets = new Insets(5,25,0,0);↵
|
10 | String cbLabel = i18n.REMOVE_ML_COMMENT_LABEL;↵ | | 8 | String label = ↵
|
11 | removeMultiLineCommentCheckBox = new JCheckBox(cbLabel);↵ | | |
|
12 | removeMultiLineCommentCheckBox.setToolTipText(i18n.REMOVE_ML_COMMENT_LABEL_TT);↵ | | |
|
13 | panel.add(removeMultiLineCommentCheckBox, c);↵ | | |
|
14 | | | |
|
| | | 9 | s_stringMgr.getString("PreferencesPanel.delayTablesLabel");↵
|
| | | 10 | delayTablesLabel = new JLabel(label);↵
|
| | | 11 | delayTablesLabel.setHorizontalAlignment(JLabel.LEFT);↵
|
| | | 12 | panel.add(delayTablesLabel, c); ↵
|
| | | 13 |
|
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 | |
Number of node comparisons | 0 |