#3 Method debug() defined protected!

Trivial Enhancement
closed
Daniel Manley
5
2001-10-23
2001-09-13
No

Could someone please remove the protected modifier from
the debug() methods in the RTKBase class. It would be
great if someone could extend EPPClient and then
override the debug method to get it all in one log-file!

PLEASE!

Discussion

  • Daniel Manley
    Daniel Manley
    2001-10-23

    Logged In: YES
    user_id=211976

    just a quick question before I make the changes... if you're
    extending EPPClient, then you're inheriting the debug
    methods from RTKBase. Why make them public in this case?

     
  • Daniel Manley
    Daniel Manley
    2001-10-23

    • milestone: --> 155922
    • assigned_to: nobody --> tubadanm
     
  • Daniel Manley
    Daniel Manley
    2001-10-23

    • milestone: 155922 -->
    • assigned_to: tubadanm --> nobody
     
  • Daniel Manley
    Daniel Manley
    2001-10-23

    • labels: --> Java RTK - Common Code
    • milestone: --> Trivial Enhancement
    • assigned_to: nobody --> tubadanm
     
  • Logged In: YES
    user_id=229917

    The problem is, that someone cannot override the debug
    method when inheriting from EPPClient. EPPClient inherits
    RTKBase and does not override debug (because it is in
    RTKBase). In RTKBase the debug() method is declared
    protected! So if I inherit EPPClient in another package (as
    it should be) I cannot override the debug() method which is
    used in all other methods. If debug() would not be declared
    protected I would be able to override it in my own class and
    print everything to my own logfile in which all the other
    things get printed as well! It would be very great, if you
    can change this! So I do not need to get the sources and
    build my own epp-rtk.jar file with the only difference that
    debug() is not protected!

    Would be great! Thanks a lot!

     
  • Daniel Manley
    Daniel Manley
    2001-10-23

    • status: open --> closed
     
  • Daniel Manley
    Daniel Manley
    2001-10-23

    Logged In: YES
    user_id=211976

    implemented requested code change in both CVS branches
    epp-rtk/java/src/com/tucows/oxrs/epp/rtk/RTKBase.java
    revisions: 1.9 and 1.5.2.4

    request pending release