Various cleanup in java.io code

XMLWordPrintable

      A cleanup pass over code under src/java.base/share/classes/java/io:

      - special handling of a null arg can be replaced with using String.valueOf()
      - in ObjectInput[Output]Stream checking/putting into map can be replaced with a single call to computeIfAbsent();
      - in ObjectStreamClass.getPackageName() one call to String.substing() can be avoided;

      and a few other cleanups.

            Assignee:
            Ivan Gerasimov
            Reporter:
            Ivan Gerasimov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: