File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/ActionBar.java | File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/CompleteWord.java | |||
Method name: void CompletionPopup(String[])
|
Method name: void CompleteWord(View, String, Completion[], Point, String)
|
|||
Number of AST nodes: 1 | Number of AST nodes: 1 | |||
1 | setContentPane(new JPanel(new BorderLayout())↵ | 1 | setContentPane(new JPanel(new BorderLayout())↵ | |
2 | {↵ | 2 | {↵ | |
3 | /**↵ | 3 | /**↵ | |
4 | * Returns if this component can be traversed by pressing the↵ | 4 | * Returns if this component can be traversed by pressing the↵ | |
5 | * Tab key. This returns false.↵ | 5 | * Tab key. This returns false.↵ | |
6 | */↵ | 6 | */↵ | |
7 | public boolean isManagingFocus()↵ | 7 | public boolean isManagingFocus()↵ | |
8 | {↵ | 8 | {↵ | |
9 | return false;↵ | 9 | return false;↵ | |
10 | }↵ | 10 | }↵ | |
11 | /**↵ | 11 | /**↵ | |
12 | * Makes the tab key work in Java 1.4.↵ | 12 | * Makes the tab key work in Java 1.4.↵ | |
13 | */↵ | 13 | */↵ | |
14 | public boolean getFocusTraversalKeysEnabled()↵ | 14 | public boolean getFocusTraversalKeysEnabled()↵ | |
15 | {↵ | 15 | {↵ | |
16 | return false;↵ | 16 | return false;↵ | |
17 | }↵ | 17 | }↵ | |
18 | }); | 18 | }); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
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 having the same super class |
Number of node comparisons | 1 |
Number of mapped statements | 1 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
2 | setContentPane(new JPanel(new BorderLayout()) {...}); | 3 | setContentPane(new JPanel(new BorderLayout()) {...}); |
Row | Violation |
---|