Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2045

org.uberfire.java.nio.file.Path.relativize(..) gives wrong value if both files are in the same folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.20.0.Final
    • VFS
    • None
    • NEW
    • NEW

      Given the following:

      path1
      /src/main/resources/mortgages/mortgages/file1.txt

      path2
      /src/main/resources/mortgages/mortgages/file2.txt

      The relative path path1.relativize(path2) is returned as ../file2.txt should it not more correctly be simply file2.txt or worst case ./file2.txt?

              eignatow Eder Ignatowicz
              manstis@redhat.com Michael Anstis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: