private void createGUI() { this.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); c.gridx = 0; // Column 0 c.gridy = 0; // Row 0 c.fill = GridBagConstraints.BOTH; c.weightx = 1; c.weighty = .40; add(createTopPanel(), c);
private void createGUI() { this.setLayout(new GridBagLayout()); GridBagConstraints c = new GridBagConstraints(); c.gridx = 0; // Column 0 c.gridy = 0; // Row 0 c.fill = GridBagConstraints.BOTH; c.weightx = 1; c.weighty = .60; add(createBottomPanel(), 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/sqlscript/src/net/sourceforge/squirrel_sql/plugins/sqlscript/prefs/SQLScriptPreferencesPanel.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
private void createGUI()
1
private void createGUI()
2
	{
3
		
2
 {
4
this.setLayout(new GridBagLayout());
3
        this.setLayout(new GridBagLayout());
5
		GridBagConstraints c = new GridBagConstraints();
4
        GridBagConstraints c = new GridBagConstraints();
6
		c.gridx = 0; // Column 0
5
        c.gridx = 0;   // Column 0
7
		c.gridy = 0; // Row 0
6
        c.gridy = 0;   // Row 0
8
		c.fill = GridBagConstraints.BOTH;
7
        c.fill = GridBagConstraints.BOTH;
9
		c.weightx = 1;
8
        c.weightx = 1;
10
		c.weighty = .40;
9
        c.weighty = .60;
11
		add(createTopPanel(), c);
10
        add(createBottomPanel(), c);
12
	
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