Remove UnixFileSystemProvider.checkPath in favor of UnixPath.toUnixPath

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 24
    • Affects Version/s: None
    • Component/s: 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;
         }

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

              Created:
              Updated:
              Resolved: