aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphilippe-perrin-sonarsource <philippe.perrin@sonarsource.com>2019-08-12 13:47:54 +0200
committerSonarTech <sonartech@sonarsource.com>2019-08-14 20:21:11 +0200
commit8de7715e05b75f2a524ebb48fa5ef8feac6f82d7 (patch)
treef8a126f9c9c85b53a06d18bc05ba74f71dfd99f2
parent717ca84b9bfde7d50a20f13e3a45ab032546c7e6 (diff)
downloadsonarqube-8de7715e05b75f2a524ebb48fa5ef8feac6f82d7.tar.gz
sonarqube-8de7715e05b75f2a524ebb48fa5ef8feac6f82d7.zip
SONAR-8520 Make schema dumper cross-platform
-rw-r--r--server/sonar-db-dao/src/test/java/org/sonar/db/dump/SQSchemaDumper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-db-dao/src/test/java/org/sonar/db/dump/SQSchemaDumper.java b/server/sonar-db-dao/src/test/java/org/sonar/db/dump/SQSchemaDumper.java
index 601fa7ed490..6ed9ed3819b 100644
--- a/server/sonar-db-dao/src/test/java/org/sonar/db/dump/SQSchemaDumper.java
+++ b/server/sonar-db-dao/src/test/java/org/sonar/db/dump/SQSchemaDumper.java
@@ -31,7 +31,7 @@ import org.sonar.db.SQDatabase;
import static com.google.common.base.Preconditions.checkState;
class SQSchemaDumper {
- private static final String LINE_SEPARATOR = "\n";
+ private static final String LINE_SEPARATOR = System.lineSeparator();
private static final String HEADER = "" +
"###############################################################" + LINE_SEPARATOR +
"#### Description of SonarQube's schema in H2 SQL syntax ####" + LINE_SEPARATOR +