From f86e27657098b1f19d8c115004c447e609c96330 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Mon, 21 Nov 2016 17:30:29 +0100 Subject: [PATCH] IdmLightConfig use File.separatorChar instead of '/' 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 --- .../java/org/opendaylight/aaa/h2/config/IdmLightConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aaa-h2-store/src/main/java/org/opendaylight/aaa/h2/config/IdmLightConfig.java b/aaa-h2-store/src/main/java/org/opendaylight/aaa/h2/config/IdmLightConfig.java index e0815942f..fb692f884 100644 --- a/aaa-h2-store/src/main/java/org/opendaylight/aaa/h2/config/IdmLightConfig.java +++ b/aaa-h2-store/src/main/java/org/opendaylight/aaa/h2/config/IdmLightConfig.java @@ -8,6 +8,7 @@ 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; @@ -83,7 +84,7 @@ public abstract class IdmLightConfig { * The JDBC database connection string. */ @Default public String getDbConnectionString() { - return getDbConnectionStringPrefix() + getDbDirectory() + "/" + getDbName(); + return getDbConnectionStringPrefix() + getDbDirectory() + File.separatorChar + getDbName(); } public void log() { -- 2.36.6