Dimension getPreferredScrollableViewportSize() { return this.getPreferredSize(); } /** * Gets the ScrollableUnitIncrement attribute of the Graph object. * * @return the ScrollableUnitIncrement value */ public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { return 5; } /** * Gets the ScrollableBlockIncrement attribute of the Graph object. * * @return the ScrollableBlockIncrement value */ public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { return (int) (visibleRect.width * .9);
Dimension getPreferredScrollableViewportSize() { return this.getPreferredSize(); } /** * Gets the ScrollableUnitIncrement attribute of the Graph object. * * @return the ScrollableUnitIncrement value */ public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) { return 5; } /** * Gets the ScrollableBlockIncrement attribute of the Graph object. * * @return the ScrollableBlockIncrement value */ public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) { return (int) (visibleRect.width * .9);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/DistributionGraph.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/GraphAccum.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
Dimension getPreferredScrollableViewportSize() {
1
Dimension getPreferredScrollableViewportSize() {
2
		return this.getPreferredSize();
2
		return this.getPreferredSize();
3
	}
3
	}
4
	/**
4
	/**
5
	 * Gets the ScrollableUnitIncrement attribute of the Graph object.
5
	 * Gets the ScrollableUnitIncrement attribute of the Graph object.
6
	 * 
6
	 * 
7
	 * @return the ScrollableUnitIncrement value
7
	 * @return the ScrollableUnitIncrement value
8
	 */
8
	 */
9
	public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) {
9
	public int getScrollableUnitIncrement(Rectangle visibleRect, int orientation, int direction) {
10
		return 5;
10
		return 5;
11
	}
11
	}
12
	/**
12
	/**
13
	 * Gets the ScrollableBlockIncrement attribute of the Graph object.
13
	 * Gets the ScrollableBlockIncrement attribute of the Graph object.
14
	 * 
14
	 * 
15
	 * @return the ScrollableBlockIncrement value
15
	 * @return the ScrollableBlockIncrement value
16
	 */
16
	 */
17
	public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) {
17
	public int getScrollableBlockIncrement(Rectangle visibleRect, int orientation, int direction) {
18
		return (int) (visibleRect.width * .9);
18
		return (int) (visibleRect.width * .9);
19
	
19
	
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0