Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. call the same object

call the same object

Scheduled Pinned Locked Moved The Weird and The Wonderful
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TorstenH
    wrote on last edited by
    #1

    The reason I'll go home now (for today):

    public SendAction(final Mail oMail, final boolean probe) {
    this(oMail);
    setText("Send Probe");
    send_as_probe = true;
    }

    public SendAction(final Mail oMail, final int later) {
    this(oMail);
    setText("Send Later");
    send_later = true;
    }

    Nice. It's pretty clever (sort of :doh: )- someone wanted to call the same object in another way... see'ya tomorrow... need to go home and daze my programming mind with some beer... Torsten

    I never finish anyth...

    S 1 Reply Last reply
    0
    • T TorstenH

      The reason I'll go home now (for today):

      public SendAction(final Mail oMail, final boolean probe) {
      this(oMail);
      setText("Send Probe");
      send_as_probe = true;
      }

      public SendAction(final Mail oMail, final int later) {
      this(oMail);
      setText("Send Later");
      send_later = true;
      }

      Nice. It's pretty clever (sort of :doh: )- someone wanted to call the same object in another way... see'ya tomorrow... need to go home and daze my programming mind with some beer... Torsten

      I never finish anyth...

      S Offline
      S Offline
      StM0n
      wrote on last edited by
      #2

      Looks kind of funny... feels like the urge for booze increases... cheers mate ;)

      (yes|no|maybe)*

      T 1 Reply Last reply
      0
      • S StM0n

        Looks kind of funny... feels like the urge for booze increases... cheers mate ;)

        (yes|no|maybe)*

        T Offline
        T Offline
        TorstenH
        wrote on last edited by
        #3

        right - that helps most times. Did I mention that I live really close to a German Biergarten[^] I sorted out all of the booleans (there were some more in the deeper code...) and deleted 2 constructors in this Action.

        public SendAction(){
        setId(SendAction.ID);
        }

        public SendAction(final Mail oMail, final SendMode oSendMode) {
        this();
        // figure out SendMode
        }

        regards Torsten

        I never finish anyth...

        S 1 Reply Last reply
        0
        • T TorstenH

          right - that helps most times. Did I mention that I live really close to a German Biergarten[^] I sorted out all of the booleans (there were some more in the deeper code...) and deleted 2 constructors in this Action.

          public SendAction(){
          setId(SendAction.ID);
          }

          public SendAction(final Mail oMail, final SendMode oSendMode) {
          this();
          // figure out SendMode
          }

          regards Torsten

          I never finish anyth...

          S Offline
          S Offline
          StM0n
          wrote on last edited by
          #4

          TorstenH. wrote:

          Did I mention that I live really close to a German Biergarten

          who doesn't, every german citizien lives near one... and in bavaria... which I actually do... :laugh:

          (yes|no|maybe)*

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups