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

Maxim Thomas
18.03.2018 bf5637720d949b64124be0f07285dd9d15a59c41
opendj-rest2ldap/src/test/java/org/forgerock/opendj/rest2ldap/Rest2LdapJsonConfiguratorTest.java
@@ -26,6 +26,7 @@
import java.io.File;
import java.io.IOException;
import java.io.StringReader;
import java.net.URISyntaxException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Collections;
@@ -471,7 +472,11 @@
    }
    private static Path getPathToClass(Class<?> clazz) {
        return Paths.get(clazz.getProtectionDomain().getCodeSource().getLocation().getPath());
      try {
         return Paths.get(clazz.getProtectionDomain().getCodeSource().getLocation().toURI());
      } catch (URISyntaxException e) {
         throw new RuntimeException(e);
      }
    }
    private static Path getPathToMavenModule(String moduleName) {