Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test591/A_out.js')
-rw-r--r--tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test591/A_out.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test591/A_out.js b/tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test591/A_out.js
deleted file mode 100644
index 73a28a2..0000000
--- a/tests/org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test591/A_out.js
+++ /dev/null
@@ -1,33 +0,0 @@
-public class IndentationSwitchCaseBug {
-
- public static void IBreakIndentation() {
- // Runnable with correct indentation
- new Runnable() {
- public void run() {
- // Do nothing
- }
- };
-
- int i = 5;
-
- switch (i) {
- case 0:
- // Indentation works right here
- break;
- case 1:
- // Runnable with bugged indentation due to case
- new Runnable() {
- public void run() {
- // Do nothing
- }
- };
- // You can see the indentation gets bugged when a runnable
- // is used inside a switch-case statemente
-
- break;
- }
-
- i = 7;
- System.out.println(i);
- }
-}

Back to the top