Remove redundant null check in ObjectOutputStream.writeProxyDesc

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 24
    • Affects Version/s: None
    • Component/s: core-libs

      There is implicit null check in line before.

           Class<?>[] ifaces = cl.getInterfaces();
           bout.writeInt(ifaces.length);
           for (int i = 0; i < ifaces.length; i++) {
               bout.writeUTF(ifaces[i].getName());
           }
           bout.setBlockDataMode(true);
           if (cl != null && isCustomSubclass()) {

            Assignee:
            Andrey Turbanov
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: