From 656c339879a071f2f875831281ed833b876e4361 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Mon, 20 Jun 2011 10:48:45 +0000 Subject: removed useless calls to empty contructor; reverted some additional undocumented changes; upported the "cgi workaround" to trunk/; large (fake) changeset are due to mixed cr/crlf used previously --- framework/Collections/TDummyDataSource.php | 3 +-- framework/Collections/TList.php | 3 +-- framework/Collections/TMap.php | 3 +-- framework/Collections/TPagedList.php | 4 +--- framework/Collections/TQueue.php | 1 - framework/Collections/TStack.php | 3 +-- 6 files changed, 5 insertions(+), 12 deletions(-) (limited to 'framework/Collections') diff --git a/framework/Collections/TDummyDataSource.php b/framework/Collections/TDummyDataSource.php index e1cc3536..491c36c0 100644 --- a/framework/Collections/TDummyDataSource.php +++ b/framework/Collections/TDummyDataSource.php @@ -4,7 +4,7 @@ * * @author Qiang Xue * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2010 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Collections @@ -36,7 +36,6 @@ class TDummyDataSource extends TComponent implements IteratorAggregate, Countabl */ public function __construct($count) { - parent::__construct(); $this->_count=$count; } diff --git a/framework/Collections/TList.php b/framework/Collections/TList.php index af9922d7..e333cbf3 100644 --- a/framework/Collections/TList.php +++ b/framework/Collections/TList.php @@ -4,7 +4,7 @@ * * @author Qiang Xue * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2010 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Collections @@ -62,7 +62,6 @@ class TList extends TComponent implements IteratorAggregate,ArrayAccess,Countabl */ public function __construct($data=null,$readOnly=false) { - parent::__construct(); if($data!==null) $this->copyFrom($data); $this->setReadOnly($readOnly); diff --git a/framework/Collections/TMap.php b/framework/Collections/TMap.php index ce55c3aa..51ed7b1c 100644 --- a/framework/Collections/TMap.php +++ b/framework/Collections/TMap.php @@ -4,7 +4,7 @@ * * @author Qiang Xue * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2010 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Collections @@ -52,7 +52,6 @@ class TMap extends TComponent implements IteratorAggregate,ArrayAccess,Countable */ public function __construct($data=null,$readOnly=false) { - parent::__construct(); if($data!==null) $this->copyFrom($data); $this->setReadOnly($readOnly); diff --git a/framework/Collections/TPagedList.php b/framework/Collections/TPagedList.php index 7bb58d41..50286aec 100644 --- a/framework/Collections/TPagedList.php +++ b/framework/Collections/TPagedList.php @@ -4,7 +4,7 @@ * * @author Qiang Xue * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2010 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Collections @@ -386,7 +386,6 @@ class TPagedListPageChangedEventParameter extends TEventParameter */ public function __construct($oldPage) { - parent::__construct(); $this->_oldPage=$oldPage; } @@ -430,7 +429,6 @@ class TPagedListFetchDataEventParameter extends TEventParameter */ public function __construct($pageIndex,$offset,$limit) { - parent::__construct(); $this->_pageIndex=$pageIndex; $this->_offset=$offset; $this->_limit=$limit; diff --git a/framework/Collections/TQueue.php b/framework/Collections/TQueue.php index 469be018..bbf8de66 100644 --- a/framework/Collections/TQueue.php +++ b/framework/Collections/TQueue.php @@ -53,7 +53,6 @@ class TQueue extends TComponent implements IteratorAggregate,Countable */ public function __construct($data=null) { - parent::__construct(); if($data!==null) $this->copyFrom($data); } diff --git a/framework/Collections/TStack.php b/framework/Collections/TStack.php index 9fd045e4..42b10674 100644 --- a/framework/Collections/TStack.php +++ b/framework/Collections/TStack.php @@ -4,7 +4,7 @@ * * @author Qiang Xue * @link http://www.pradosoft.com/ - * @copyright Copyright © 2005-2010 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id$ * @package System.Collections @@ -52,7 +52,6 @@ class TStack extends TComponent implements IteratorAggregate,Countable */ public function __construct($data=null) { - parent::__construct(); if($data!==null) $this->copyFrom($data); } -- cgit v1.2.3