Thread: [pgjdbc/pgjdbc] c12a76: change the default directory returned on windows t...

[pgjdbc/pgjdbc] c12a76: change the default directory returned on windows t...

From
Dave Cramer
Date:
Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: c12a76f6c42ba3c41d6f4472f3a47d645e9dba33
      https://github.com/pgjdbc/pgjdbc/commit/c12a76f6c42ba3c41d6f4472f3a47d645e9dba33
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2022-01-12 (Wed, 12 Jan 2022)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/util/OSUtil.java
    M pgjdbc/src/main/java/org/postgresql/util/PGPropertyPasswordParser.java
    M pgjdbc/src/main/java/org/postgresql/util/PGPropertyServiceParser.java
    M pgjdbc/src/test/java/org/postgresql/util/OSUtilTest.java
    A pgjdbc/src/test/resources/pg_service/postgresql/.pg_service.conf
    R pgjdbc/src/test/resources/pg_service/postgresql/pg_service.conf

  Log Message:
  -----------
  change the default directory returned on windows to APPDATA/postgresql since that is what we end up using anyway
(#2402)

* change the default directory returned on windows to APPDATA/postgresql since that is what we end up using anyway

* change getConfigRootDirectory to not return with a trailing file separator to honour the name of the function