Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.core.tests.model/workspace/Formatter/test543079/G_out.java')
-rw-r--r--org.eclipse.jdt.core.tests.model/workspace/Formatter/test543079/G_out.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/org.eclipse.jdt.core.tests.model/workspace/Formatter/test543079/G_out.java b/org.eclipse.jdt.core.tests.model/workspace/Formatter/test543079/G_out.java
new file mode 100644
index 0000000000..7bdd701612
--- /dev/null
+++ b/org.eclipse.jdt.core.tests.model/workspace/Formatter/test543079/G_out.java
@@ -0,0 +1,21 @@
+class C {
+
+ boolean firstIsGreater = 11111111 + 22222222 + 33333333 + 44444444
+ + 55555555 + 66666666 > 1.11111111 * 2.22222222 * 3.33333333
+ * 4.44444444 * 5.55555555 * 6.66666666;
+
+ String concatenatedString = "one two three four " + "five six seven eight "
+ + "nine ten eleven twelve";
+
+ int shiftedInteger = 0xCAFEFACE >>> 0x00000001 >>> 0x00000002 << 0x00000003 >>> 0x00000004;
+
+ int bitAritmetic = 0xCAFEFACE
+ | 0x01010101 & 0x02020202 ^ 0x03030303 ^ 0x04040404 | 0x05050505;
+
+ boolean multipleConditions = conditionOne &&
+ conditionTwo ||
+ conditionThree &&
+ conditionFour ||
+ conditionFive;
+
+}

Back to the top