Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.5.0

Bug #17910 VersionControl_Git_Util_Command::createCommandString() must be public
Submitted: 2010-09-29 20:42 UTC
From: ebihara Assigned: ebihara
Status: Closed Package: VersionControl_Git (version 0.4.2)
PHP Version: 5.3.3 OS:
Roadmaps: 0.4.3    

 [2010-09-29 20:42 UTC] ebihara (Kousuke Ebihara)
Description: ------------ VersionControl_Git_Util_Command::createCommandString() must be public. I've written this method as protected because this is used by only VersionControl_Git_Util_Command::execute() now. But my judgment was not good. Because, * This class' role is similar to objective of "utility class". So I should make an effort to make many methods public. * Arguments and prerequisites for running (::$subCommand must be specified) of ::createCommandString() are equal to ::execute()'s one. It is able to be called individually. There is nothing to do for calling this method from ::execute(). * ::createCommandString() doesn't change any properties.


 [2010-09-29 20:49 UTC] ebihara (Kousuke Ebihara)
-Status: Open +Status: Closed -Assigned To: +Assigned To: ebihara
This bug has been fixed in Git repository.