diff --git a/src/main/java/org/sonar/plugins/csharp/SonarLintProfileExporter.java b/src/main/java/org/sonar/plugins/csharp/SonarLintProfileExporter.java index 34ee3ba6c4d..5f0c98ef75c 100644 --- a/src/main/java/org/sonar/plugins/csharp/SonarLintProfileExporter.java +++ b/src/main/java/org/sonar/plugins/csharp/SonarLintProfileExporter.java @@ -47,7 +47,7 @@ public void exportProfile(RulesProfile ruleProfile, Writer writer) { appendLine(writer, ""); appendLine(writer, ""); - appendLine(writer, " "); + appendLine(writer, " "); for (ActiveRule activeRule : ruleProfile.getActiveRulesByRepository(CSharpPlugin.REPOSITORY_KEY)) { Rule rule = activeRule.getRule(); diff --git a/src/test/java/org/sonar/plugins/csharp/SonarLintProfileExporterTest.java b/src/test/java/org/sonar/plugins/csharp/SonarLintProfileExporterTest.java index 9fa8c8b13a7..7351ec36572 100644 --- a/src/test/java/org/sonar/plugins/csharp/SonarLintProfileExporterTest.java +++ b/src/test/java/org/sonar/plugins/csharp/SonarLintProfileExporterTest.java @@ -114,7 +114,7 @@ public void test() { assertThat(writer.toString()).isEqualTo( "\r\n" + "\r\n" + - " \r\n" + + " \r\n" + " \r\n" + " \r\n" + " \r\n" +