Skip to main content
summaryrefslogtreecommitdiffstats
blob: 5e1a954f0ffd2ea7b1ba3781549e6c5ea64d4e32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
 * New Lines
 */
public class Empty {
}

class Example {
	static int[] fArray = { 1, 2, 3, 4, 5 };
	Listener fListener = new Listener() {
	};

	// the following line contains line breaks
	// which can be preserved:
	void bar() {
	}

	void foo() {
		;
		;
		do {
		} while (false);
		for (;;) {
		}
	}
}

enum MyEnum {
	UNDEFINED(0) {
	}
}

enum EmptyEnum {
}

Back to the top