_sessionInfoPanel = new SessionInfoPanel(getSession(), autoRefeshPeriod);
_toolBar = new SessionInfoToolBar(getSession(), stayOnTop, autoRefeshPeriod);
JPanel contentPanel = new JPanel(new BorderLayout());
contentPanel.add(_toolBar, BorderLayout.NORTH);
contentPanel.add(_sessionInfoPanel, BorderLayout.CENTER);
setContentPane(contentPanel);
_sessionInfoPanel.setAutoRefreshPeriod(autoRefeshPeriod);
_sgaTracePanel = new SGATracePanel(getSession(), autoRefeshPeriod);
_toolBar = new SGATraceToolBar(getSession(), stayOnTop, autoRefeshPeriod);
JPanel contentPanel = new JPanel(new BorderLayout());
contentPanel.add(_toolBar, BorderLayout.NORTH);
contentPanel.add(_sgaTracePanel, BorderLayout.CENTER);
setContentPane(contentPanel);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/sessioninfo/SessionInfoInternalFrame.java
|
|
File path: /sql12/plugins/oracle/src/net/sourceforge/squirrel_sql/plugins/oracle/SGAtrace/SGATraceInternalFrame.java
|
Method name: void createPanelAndToolBar(boolean, int)
|
|
Method name: void createPanelAndToolBar(boolean, int)
|
Number of AST nodes: 7
|
|
Number of AST nodes: 6
|
|
1 | _sessionInfoPanel = new SessionInfoPanel(getSession(), autoRefeshPeriod);↵ | | 1 | _sgaTracePanel = new SGATracePanel(getSession(), autoRefeshPeriod);↵
|
2 | _toolBar = new SessionInfoToolBar(getSession(), stayOnTop, autoRefeshPeriod);↵ | | 2 | _toolBar = new SGATraceToolBar(getSession(), stayOnTop, autoRefeshPeriod);↵
|
3 | JPanel contentPanel = new JPanel(new BorderLayout());↵ | | 3 | JPanel contentPanel = new JPanel(new BorderLayout());↵
|
4 | contentPanel.add(_toolBar, BorderLayout.NORTH);↵ | | 4 | contentPanel.add(_toolBar, BorderLayout.NORTH);↵
|
5 | contentPanel.add(_sessionInfoPanel, BorderLayout.CENTER);↵ | | 5 | contentPanel.add(_sgaTracePanel, BorderLayout.CENTER);↵
|
6 | setContentPane(contentPanel);↵ | | 6 | setContentPane(contentPanel);
|
|
7 | _sessionInfoPanel.setAutoRefreshPeriod(autoRefeshPeriod); | | | |
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 | Clones are in different classes |
Number of node comparisons | 0 |