TextAreaDialog(Frame frame, String title, String caption,
Icon icon, String text)
{
super(frame,title,true);
init(caption,icon,text);
} //}}}
//{{{ TextAreaDialog constructor
public TextAreaDialog(Frame frame, String name, Throwable t)
{
this(frame,jEdit.getProperty(name + ".title"),
jEdit.getProperty(name + ".message"),
UIManager.getIcon("OptionPane.errorIcon"),
MiscUtilities.throwableToString(t));
}
TextAreaDialog(Dialog frame, String title, String caption,
Icon icon, String text)
{
super(frame,title,true);
init(caption,icon,text);
} //}}}
//{{{ TextAreaDialog constructor
public TextAreaDialog(Dialog frame, String name, Throwable t)
{
this(frame,jEdit.getProperty(name + ".title"),
jEdit.getProperty(name + ".message"),
UIManager.getIcon("OptionPane.errorIcon"),
MiscUtilities.throwableToString(t));
}
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/TextAreaDialog.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/jedit/gui/TextAreaDialog.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | TextAreaDialog(Frame frame, String title, String caption,↵ | | 1 | TextAreaDialog(Dialog frame, String title, String caption,↵
|
2 | Icon icon, String text)↵ | | 2 | Icon icon, String text)↵
|
3 | {↵ | | 3 | {↵
|
4 | super(frame,title,true);↵ | | 4 | super(frame,title,true);↵
|
|
5 | init(caption,icon,text);↵ | | 5 | init(caption,icon,text);↵
|
6 | } //}}}↵ | | 6 | } //}}}↵
|
|
7 | //{{{ TextAreaDialog constructor↵ | | 7 | //{{{ TextAreaDialog constructor↵
|
8 | public TextAreaDialog(Frame frame, String name, Throwable t)↵ | | 8 | public TextAreaDialog(Dialog frame, String name, Throwable t)↵
|
9 | {↵ | | 9 | {↵
|
10 | this(frame,jEdit.getProperty(name + ".title"),↵ | | 10 | this(frame,jEdit.getProperty(name + ".title"),↵
|
11 | jEdit.getProperty(name + ".message"),↵ | | 11 | jEdit.getProperty(name + ".message"),↵
|
12 | UIManager.getIcon("OptionPane.errorIcon"),↵ | | 12 | UIManager.getIcon("OptionPane.errorIcon"),↵
|
13 | MiscUtilities.throwableToString(t));↵ | | 13 | MiscUtilities.throwableToString(t));↵
|
14 | } | | 14 | }
|
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 |