Changeset 910

Show
Ignore:
Timestamp:
09/12/07 11:54:07 (1 year ago)
Author:
mikey
Message:

faster comparison
whitespace fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/rdbms/persistence/creator/stubDatabaseCreator.php

    r907 r910  
    5656    public static function getInstance(stubDatabaseConnection $connection, $refresh = false) 
    5757    { 
    58         if (isset(self::$instances[$connection->hashCode()]) == false || true == $refresh) { 
     58        if (isset(self::$instances[$connection->hashCode()]) === false || true === $refresh) { 
    5959            self::$instances[$connection->hashCode()] = new self($connection); 
    6060        } 
     
    8686        } 
    8787         
    88         $tableDescription = $this->getTableDescription($entityClass);         
     88        $tableDescription = $this->getTableDescription($entityClass); 
    8989        $methods          = $entityClass->getMethods(); 
    9090        foreach ($methods as $method) { 
  • trunk/src/main/php/net/stubbles/rdbms/persistence/eraser/stubDatabaseEraser.php

    r907 r910  
    5858    public static function getInstance(stubDatabaseConnection $connection, $refresh = false) 
    5959    { 
    60         if (isset(self::$instances[$connection->hashCode()]) == false || true == $refresh) { 
     60        if (isset(self::$instances[$connection->hashCode()]) === false || true === $refresh) { 
    6161            self::$instances[$connection->hashCode()] = new self($connection); 
    6262        }