public void setTextLimitLineVisible(boolean data)
{
if (_textLimitLineVisible != data)
{
final Boolean oldValue = Boolean.valueOf(_textLimitLineVisible);
_textLimitLineVisible = data;
getPropertyChangeReporter().firePropertyChange(IPropertyNames.TEXT_LIMIT_LINE_VISIBLE,
oldValue, Boolean.valueOf(_textLimitLineVisible));
public void setTextLimitLineWidth(int data)
{
if (_textLimitLineWidth != data)
{
final Integer oldValue = Integer.valueOf(_textLimitLineWidth);
_textLimitLineWidth = data;
getPropertyChangeReporter().firePropertyChange(IPropertyNames.TEXT_LIMIT_LINE_WIDTH,
oldValue, Integer.valueOf(_textLimitLineWidth));
Clone fragments detected by clone detection tool
File path: /sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/SyntaxPreferences.java
|
|
File path: /sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/SyntaxPreferences.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void setTextLimitLineVisible(boolean data)↵ | | 1 | public void setTextLimitLineWidth(int data)↵
|
2 | {↵ | | 2 | {↵
|
3 | if (_textLimitLineVisible != data)↵ | | 3 | if (_textLimitLineWidth != data)↵
|
4 | {↵ | | 4 | {↵
|
5 | final Boolean oldValue = Boolean.valueOf(_textLimitLineVisible);↵ | | 5 | final Integer oldValue = Integer.valueOf(_textLimitLineWidth);↵
|
6 | _textLimitLineVisible = data;↵ | | 6 | _textLimitLineWidth = data;↵
|
7 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.TEXT_LIMIT_LINE_VISIBLE,↵ | | 7 | getPropertyChangeReporter().firePropertyChange(IPropertyNames.TEXT_LIMIT_LINE_WIDTH,↵
|
8 | oldValue, Boolean.valueOf(_textLimitLineVisible));↵ | | 8 | oldValue, Integer.valueOf(_textLimitLineWidth));↵
|
9 | | | 9 |
|
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 |