CloneSet569


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1201029
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/LogarithmicAxis.java
2201268
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java
Next
Last
Clone Instance
1
Line Count
20
Source Line
1029
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/LogarithmicAxis.java

if (isVerticalTickLabels()) {
  if (edge == RectangleEdge.LEFT) {
    anchor = TextAnchor.BOTTOM_CENTER;
    rotationAnchor = TextAnchor.BOTTOM_CENTER;
    angle = -Math.PI / 2.0;
  }
  else {
    anchor = TextAnchor.BOTTOM_CENTER;
    rotationAnchor = TextAnchor.BOTTOM_CENTER;
    angle = Math.PI / 2.0;
  }
}
else {
  if (edge == RectangleEdge.LEFT) {
    anchor = TextAnchor.CENTER_RIGHT;
    rotationAnchor = TextAnchor.CENTER_RIGHT;
  }
  else {
    anchor = TextAnchor.CENTER_LEFT;
    rotationAnchor = TextAnchor.CENTER_LEFT;
  }
}


First
Previous
Clone Instance
2
Line Count
20
Source Line
1268
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java

if (isVerticalTickLabels()) {
  if (edge == RectangleEdge.LEFT) {
    anchor = TextAnchor.BOTTOM_CENTER;
    rotationAnchor = TextAnchor.BOTTOM_CENTER;
    angle = -Math.PI / 2.0;
  }
  else {
    anchor = TextAnchor.BOTTOM_CENTER;
    rotationAnchor = TextAnchor.BOTTOM_CENTER;
    angle = Math.PI / 2.0;
  }
}
else {
  if (edge == RectangleEdge.LEFT) {
    anchor = TextAnchor.CENTER_RIGHT;
    rotationAnchor = TextAnchor.CENTER_RIGHT;
  }
  else {
    anchor = TextAnchor.CENTER_LEFT;
    rotationAnchor = TextAnchor.CENTER_LEFT;
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

if (isVerticalTickLabels()) {
  if (edge == RectangleEdge.LEFT) {
    anchor = TextAnchor.BOTTOM_CENTER;
    rotationAnchor = TextAnchor.BOTTOM_CENTER;
    angle = -Math.PI / 2.0;
  }
  else {
    anchor = TextAnchor.BOTTOM_CENTER;
    rotationAnchor = TextAnchor.BOTTOM_CENTER;
    angle = Math.PI / 2.0;
  }
}
else {
  if (edge == RectangleEdge.LEFT) {
    anchor = TextAnchor.CENTER_RIGHT;
    rotationAnchor = TextAnchor.CENTER_RIGHT;
  }
  else {
    anchor = TextAnchor.CENTER_LEFT;
    rotationAnchor = TextAnchor.CENTER_LEFT;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None