-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjava.json
More file actions
6 lines (6 loc) · 1.4 KB
/
Copy pathjava.json
File metadata and controls
6 lines (6 loc) · 1.4 KB
1
2
3
4
5
6
{
"section": "java",
"original": "public class Main {\r\n public static void main(String[] args) {\r\n System.out.println(\"hi\");\r\n }\r\n}\r\n",
"edit": "<<<<<<< SKIP\n<<<<<<< skip\nimport java.util.List;\n\n// java line comment with '<<<<<<< SKIP' inert as content\npublic class Main {\n public static void main(String[] args) {\n<<<<<<< SKIP\n String hint = \"marker \\\"<<<<<<< SKIP\\\" inside string is inert\";\n String block = \"\"\"\n text block with <<<<<<< SKIP inside is inert\n \"\"\";\n String curly = \"curly “hi” with <<<<<<< skip inert\";\n List<String> items = List.of(\"a\", \"b\", \"c\");\n System.out.println(hint + \" | \" + block.length() + \" | \" + items.size() + \" | \" + curly);\n<<<<<<< Skip\n }\n}\n<<<<<<< SKIP\n",
"expected": "import java.util.List;\n\n// java line comment with '<<<<<<< SKIP' inert as content\npublic class Main {\n public static void main(String[] args) {\n String hint = \"marker \\\"<<<<<<< SKIP\\\" inside string is inert\";\n String block = \"\"\"\n text block with <<<<<<< SKIP inside is inert\n \"\"\";\n String curly = \"curly “hi” with <<<<<<< skip inert\";\n List<String> items = List.of(\"a\", \"b\", \"c\");\n System.out.println(hint + \" | \" + block.length() + \" | \" + items.size() + \" | \" + curly);\n }\n}\n"
}