Font plainFont, boldFont;
ParentDirectoryRenderer()
{
plainFont = UIManager.getFont("Tree.font");
if(plainFont == null)
plainFont = jEdit.getFontProperty("metal.secondary.font");
boldFont = new Font(plainFont.getName(),Font.BOLD,plainFont.getSize());
Font plainFont, boldFont;
//{{{ ResultCellRenderer constructor
ResultCellRenderer()
{
plainFont = UIManager.getFont("Tree.font");
if(plainFont == null)
plainFont = jEdit.getFontProperty("metal.secondary.font");
boldFont = new Font(plainFont.getName(),Font.BOLD,
plainFont.getSize());
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/browser/BrowserView.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/search/HyperSearchResults.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | Font plainFont, boldFont;↵ | | 1 | Font plainFont, boldFont;↵
|
|
2 | ParentDirectory↵ | | 2 | //{{{ ResultCellRenderer constructor↵
|
3 | Renderer()↵ | | 3 | ResultCellRenderer()↵
|
4 | {↵ | | 4 | {↵
|
5 | plainFont = UIManager.getFont("Tree.font");↵ | | 5 | plainFont = UIManager.getFont("Tree.font");↵
|
6 | if(plainFont == null)↵ | | 6 | if(plainFont == null)↵
|
7 | plainFont = jEdit.getFontProperty("metal.secondary.font");↵ | | 7 | plainFont = jEdit.getFontProperty("metal.secondary.font");↵
|
8 | boldFont = new Font(plainFont.getName(),Font.BOLD,↵ | | 8 | boldFont = new Font(plainFont.getName(),Font.BOLD,↵
|
9 | plainFont.getSize()); | | 9 | plainFont.getSize());
|
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 | |
Number of node comparisons | 0 |