Menu

#20 FtpWriter.sendFtpMessage should not be static

open
Pipelines (13)
5
2003-06-26
2003-06-13
No

...to be able to extend the class and overwrite the
method to create a custom FtpWriter

Vincent

Discussion

  • Dejan Krsmanovic

    Logged In: YES
    user_id=608954

    There are few other static methods in several pipeline stages.
    I guess the main reason for this is that they could be easily
    used in other stages (Bruce?). But except parse method of
    Domify stage I cannot recall if any other stage use methods
    of other stages.

    I think we should discuss of this issue. I suggest you to
    subscribe to developer list (if you are not already) so we
    could discuss about this.

     
  • Dejan Krsmanovic

    • labels: --> Pipelines
    • assigned_to: nobody --> vharcq
     
  • Dejan Krsmanovic

    Logged In: YES
    user_id=608954

    I believe you can close this, but it is up to you, Vincent.
    I guess you should update HEAD branch, too...

     
  • bruce mcdonald

    bruce mcdonald - 2003-06-27

    Logged In: YES
    user_id=547388

    Correct - making those methods static is to allow reuse at a
    method level.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.