if (series < getListCount()) {
List tooltips = (List) this.toolTipSeries.get(series);
if (tooltips != null) {
if (item < tooltips.size()) {
result = (String) tooltips.get(item);
if (series < getListCount()) {
List urls = (List) this.urlSeries.get(series);
if (urls != null) {
if (item < urls.size()) {
result = (String) urls.get(item);
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/labels/CustomXYToolTipGenerator.java
|
|
File path: /jfreechart-1.0.10/src/org/jfree/chart/urls/CustomCategoryURLGenerator.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | if (series < getListCount()) {↵ | | 1 | if (series < getListCount()) {↵
|
2 | List tooltips = (List) this.toolTipSeries.get(series);↵ | | 2 | List urls = (List) this.urlSeries.get(series);↵
|
3 | if (tooltips != null) {↵ | | 3 | if (urls != null) {↵
|
4 | if (item < tooltips.size()) {↵ | | 4 | if (item < urls.size()) {↵
|
5 | result = (String) tooltips.get(item);↵ | | 5 | result = (String) urls.get(item);↵
|
6 | | | 6 |
|
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 |