Code Duplication    Length = 3-3 lines in 2 locations

Ajax/semantic/html/content/table/HtmlTD.php 2 locations

@@ 50-52 (lines=3) @@
47
48
	public function setRowspan($rowspan) {
49
		$to=min($this->_container->count(), $this->_row + $rowspan - 1);
50
		for($i=$to; $i > $this->_row; $i--) {
51
			$this->_container->delete($i, $this->_col);
52
		}
53
		$this->setProperty("rowspan", $rowspan);
54
		return $this->_container;
55
	}
@@ 75-77 (lines=3) @@
72
73
	public function setColspan($colspan) {
74
		$to=min($this->_container->getRow($this->_row)->count(), $this->_col + $colspan - 1);
75
		for($i=$to; $i > $this->_col; $i--) {
76
			$this->_container->delete($this->_row, $this->_col + 1);
77
		}
78
		$this->setProperty("colspan", $colspan);
79
		return $this->_container;
80
	}