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

Remove UnixFileSystemProvider.checkPath in favor of UnixPath.toUnixPath

    XMLWordPrintable

Details

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

    Description

      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;
         }

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: