This was always already a '/' in the original code before my recent
refactorings (and, presumably, never caused issues on Windows), but as
requested by Ryan in
https://git.opendaylight.org/gerrit/#/c/48372/8/aaa-h2-store/src/main/java/org/opendaylight/aaa/h2/config/IdmLightConfig.java@121
Change-Id: Ibe08409a71d58fd099c4c653c6053627e35229ec
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
package org.opendaylight.aaa.h2.config;
+import java.io.File;
import org.immutables.value.Value;
import org.immutables.value.Value.Default;
import org.immutables.value.Value.Immutable;
* The JDBC database connection string.
*/
@Default public String getDbConnectionString() {
- return getDbConnectionStringPrefix() + getDbDirectory() + "/" + getDbName();
+ return getDbConnectionStringPrefix() + getDbDirectory() + File.separatorChar + getDbName();
}
public void log() {