Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.968 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 1603 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/AbstractRenderer.java |
2 | 7 | 1799 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/AbstractRenderer.java |
| |||||
/** * Sets the base stroke and, if requested, sends a * {@link RendererChangeEvent} to all registered listeners. * * @param stroke the stroke (<code>null</code> not permitted). * @param notify notify listeners? * * @see #getBaseStroke() */ public void setBaseStroke(Stroke stroke, boolean notify) { if (stroke == null) { throw new IllegalArgumentException("Null \'stroke\' argument."); } this.baseStroke = stroke; if (notify) { fireChangeEvent(); } } |
| |||||
/** * Sets the base outline stroke and, if requested, sends a * {@link RendererChangeEvent} to all registered listeners. * * @param stroke the stroke (<code>null</code> not permitted). * @param notify a flag that controls whether or not listeners are * notified. * * @see #getBaseOutlineStroke() */ public void setBaseOutlineStroke(Stroke stroke, boolean notify) { if (stroke == null) { throw new IllegalArgumentException("Null \'stroke\' argument."); } this.baseOutlineStroke = stroke; if (notify) { fireChangeEvent(); } } |
| |||
/** * Sets the base outline stroke and, if requested, sends a * {@link RendererChangeEvent} to all registered listeners. * * @param stroke the stroke (<code>null</code> not permitted). * @param notify a flag that controls whether or not listeners are * notified. * * @see #getBaseOutlineStroke() */ /** * Sets the base stroke and, if requested, sends a * {@link RendererChangeEvent} to all registered listeners. * * @param stroke the stroke (<code>null</code> not permitted). * @param notify notify listeners? * * @see #getBaseStroke() */ public void [[#variable18f5f400]](Stroke stroke, boolean notify) { if (stroke == null) { throw new IllegalArgumentException("Null \'stroke\' argument."); } this. [[#variable18f5f380]]= stroke; if (notify) { fireChangeEvent(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18f5f400]] | setBaseStroke |
1 | 2 | [[#18f5f400]] | setBaseOutlineStroke |
2 | 1 | [[#18f5f380]] | baseStroke |
2 | 2 | [[#18f5f380]] | baseOutlineStroke |