private final class RefreshAction extends SquirrelAction { public RefreshAction(IApplication app) { super(app); if (app == null) { throw new IllegalArgumentException("Null IApplication passed"); } } public void actionPerformed(ActionEvent evt) { _pnl.refreshPage();
private final class HomeAction extends SquirrelAction { public HomeAction(IApplication app) { super(app); if (app == null) { throw new IllegalArgumentException("Null IApplication passed"); } } public void actionPerformed(ActionEvent evt) { _pnl.goHome();
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/HtmlViewerPanelToolBar.java File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/HtmlViewerPanelToolBar.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
private final class RefreshAction extends SquirrelAction
1
private final class HomeAction extends SquirrelAction
2
	{
2
	{
3
		public RefreshAction(IApplication app)
3
		public HomeAction(IApplication app)
4
		{
4
		{
5
			super(app);
5
			super(app);
6
			if (app == null)
6
			if (app == null)
7
			{
7
			{
8
				throw new IllegalArgumentException("Null IApplication passed");
8
				throw new IllegalArgumentException("Null IApplication passed");
9
			}
9
			}
10
		}
10
		}
11
		public void actionPerformed(ActionEvent evt)
11
		public void actionPerformed(ActionEvent evt)
12
		{
12
		{
13
			_pnl.refreshPage();
13
			_pnl.goHome();
14
		
14
		
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