Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4196139

Redundant string creating in InetAddress constructor

XMLWordPrintable

    • kestrel
    • generic
    • generic



      Name: jn10789 Date: 12/09/98


      The InetAddress constructor(String, byte[]) does
      a this.hostName = new (hostname). This does a
      redundant create of a String. It should just have
      this.hostname = hostname.
      (Review ID: 47579)
      ======================================================================

            ywangsunw Yingxian Wang (Inactive)
            jdn Jeffrey Nisewanger (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: