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);
private void addDelayRecordsLabel(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.delayRecordsLabel"); delayRecordsLabel = new JLabel(label); delayRecordsLabel.setHorizontalAlignment(JLabel.LEFT); panel.add(delayRecordsLabel, c);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/gui/PreferencesPanel.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 addDelayTablesLabel(JPanel panel, int col, int row) {
1
private void addDelayRecordsLabel(JPanel panel, int col, int row) {
2
        GridBagConstraints c = new GridBagConstraints();
2
        GridBagConstraints c = new GridBagConstraints();
3
        c.gridx = col;
3
        c.gridx = col;
4
        c.gridy = row;  
4
        c.gridy = row;  
5
        c.insets = new Insets(5,25,0,0);
5
        c.insets = new Insets(5,25,0,0);
6
        String label = 
6
        String label = 
7
            s_stringMgr.getString("PreferencesPanel.delayTablesLabel");
7
            s_stringMgr.getString("PreferencesPanel.delayRecordsLabel");
8
        delayTablesLabel = new JLabel(label);
8
        delayRecordsLabel = new JLabel(label);
9
        delayTablesLabel.setHorizontalAlignment(JLabel.LEFT);
9
        delayRecordsLabel.setHorizontalAlignment(JLabel.LEFT);
10
        panel.add(delayTablesLabel, c);        
10
        panel.add(delayRecordsLabel, c);        
11
    
11
    
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