File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/github/cameltooling/lsp/internal/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public static String createXMLBlueprintRoute(String camelUri) {
56
56
* contents
57
57
*/
58
58
public static DocumentContentWithPosition createJavaDocumentClass (String javaClassContent ) {
59
- String newLine = System . getProperty ( "line.separator" ) ;
59
+ String newLine = " \n " ;
60
60
String [] contentSplit = javaClassContent .split (newLine );
61
61
int lineOffset = contentSplit .length ;
62
62
int characterOffset = contentSplit [contentSplit .length -1 ].length ();
@@ -84,7 +84,7 @@ public static DocumentContentWithPosition createJavaDocumentClass(String javaCla
84
84
* method and after content.
85
85
*/
86
86
public static DocumentContentWithPosition createJavaDocumentCamelRoute (String camelRoute ) {
87
- String newLine = System . getProperty ( "line.separator" ) ;
87
+ String newLine = " \n " ;
88
88
String [] contentSplit = camelRoute .split (newLine );
89
89
int lineOffset = contentSplit .length - 1 ;
90
90
int characterOffset = contentSplit [contentSplit .length -1 ].length ();
You can’t perform that action at this time.
0 commit comments