mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

kenneth_suter
18.57.2007 913db2610f792a55d1d656ea4204c4cb3956bcdc
fixes broken code for determining whether or not a path string represents an abolute path
1 files modified
9 ■■■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Configuration.java 9 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/Configuration.java
@@ -200,12 +200,9 @@
    Set<String> outsidePaths = new HashSet<String>();
    for (String path : paths) {
      File fullDbPath;
      // Assume that if the path starts with a file separator
      // that it is an absolute path.  Otherwise its a relative
      // path.
      if (path.startsWith(File.separator)) {
        fullDbPath = new File(path);
      File pathFile = new File(path);
      if (pathFile.isAbsolute()) {
        fullDbPath = pathFile;
      } else {
        fullDbPath = new File(install.getRootDirectory(), path);
      }