Changeset 916

Show
Ignore:
Timestamp:
09/14/07 15:58:22 (1 year ago)
Author:
schst
Message:

make sure, that $decorators is an array, whitespace fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/info/phing/tasks/stubStarWriterTask.php

    r830 r916  
    8080     * @var  array<string,StarDecorator> 
    8181     */ 
    82     protected $decorators
     82    protected $decorators = array()
    8383 
    8484    /** 
     
    191191            $decorators[$decorator->getStarId()] = $decorator; 
    192192        } 
    193          
     193 
    194194        $starArchive = new StarArchive(new StarWriter($this->buildPath)); 
    195195        foreach($this->filesets as $fs) { 
     
    208208                        $id     = str_replace(DIRECTORY_SEPARATOR, '/', substr($fullFileName, $pos)); 
    209209                    } 
    210                      
     210 
    211211                    $this->log('Adding ' . $fullFileName . ' as ' . $id); 
    212212                    if (isset($decorators[$id]) == false) { 
     
    218218                        $this->log('Decorating ' . $id . ' with ' . $class); 
    219219                    } 
    220                      
     220 
    221221                    $starArchive->add($starFile, $id); 
    222222                } 
     
    230230                } 
    231231        } 
    232          
     232 
    233233        if (null != $this->preface) { 
    234234            $starArchive->setPreface($this->preface); 
    235235        } 
    236          
     236 
    237237        $starArchive->addMetaData('title', $this->title); 
    238238        $starArchive->addMetaData('package', $this->package);