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

Remove UnixFileSystemProvider.checkPath in favor of UnixPath.toUnixPath

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 24
    • None
    • core-libs
    • b08

      Implementation of both methods is the same.

         UnixPath checkPath(Path obj) {
           if (obj == null)
               throw new NullPointerException();
           if (!(obj instanceof UnixPath))
               throw new ProviderMismatchException();
           return (UnixPath)obj;
         }

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

              Created:
              Updated:
              Resolved: