class KunststoffLookAndFeelPlugin extends AbstractThemePlugin { /** * */ public KunststoffLookAndFeelPlugin() { super(); } /* (non-Javadoc) * @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel() */ public void setLookAndFeel() throws Exception { UIManager.setLookAndFeel( new com.incors.plaf.kunststoff.KunststoffLookAndFeel()); UIManager.getLookAndFeelDefaults().put("ClassLoader",getClass().getClassLoader()); }
class HippoLookAndFeelPlugin extends AbstractThemePlugin { /** * */ public HippoLookAndFeelPlugin() { super(); } /* * (non-Javadoc) * * @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel() */ public void setLookAndFeel() throws Exception { UIManager.setLookAndFeel( new se.diod.hippo.plaf.HippoLookAndFeel()); UIManager.getLookAndFeelDefaults().put("ClassLoader", getClass().getClassLoader()); }
Clone fragments detected by clone detection tool
File path: /columba-1.4-src/plugins/org.columba.core.KunststoffLookAndFeel/src/KunststoffLookAndFeelPlugin.java File path: /columba-1.4-src/plugins/org.columba.core.HippoLookAndFeel/src/HippoLookAndFeelPlugin.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
class KunststoffLookAndFeelPlugin extends AbstractThemePlugin {
1
class HippoLookAndFeelPlugin extends AbstractThemePlugin {
2
	/**
2
	/**
3
	 * 
3
	 *  
4
	 */
4
	 */
5
	public KunststoffLookAndFeelPlugin() {
5
	public HippoLookAndFeelPlugin() {
6
		super();
6
		super();
7
	}
7
	}
8
	/*
8
	/*
9
 (non-Javadoc)
9
	 * (non-Javadoc)
10
	
10
	 * 
11
 * @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel()
11
	 * @see org.columba.core.gui.themes.plugin.AbstractThemePlugin#setLookAndFeel()
12
	 */
12
	 */
13
	public void setLookAndFeel() throws Exception {
13
	public void setLookAndFeel() throws Exception {
14
		UIManager.setLookAndFeel(
14
		UIManager.setLookAndFeel(
15
			new com.incors.plaf.kunststoff.KunststoffLookAndFeel());
15
 new se.diod.hippo.plaf.HippoLookAndFeel());
16
		
17
		UIManager.getLookAndFeelDefaults().put("ClassLoader",
16
		UIManager.getLookAndFeelDefaults().put("ClassLoader",
18
getClass().getClassLoader());
17
				getClass().getClassLoader());
19
	}
18
	}
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