// Interacting private ITDs public class InteractingOldAndNew { public static void main(String []argv) { InteractingOldAndNew inst = new InteractingOldAndNew(); inst.setI1(12); inst.setI2(65); int value = inst.getI1(); if (value!=12) { throw new RuntimeException(Integer.toString(value)); } value = inst.getI2(); if (value!=65) { throw new RuntimeException(Integer.toString(value)); } } } aspect X { private int InteractingOldAndNew.i; public int InteractingOldAndNew.getI1() { return i; } public void InteractingOldAndNew.setI1(int newvalue) { i = newvalue; } } aspect Y { private int InteractingOldAndNew.i; public int InteractingOldAndNew.getI2() { return i; } public void InteractingOldAndNew.setI2(int newvalue) { i = newvalue; } } torage-merged'>27-shared-null-storage-merged Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/EventSource.php
blob: dbeda25049e0c62e24ad9da172bb595fee75c132 (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104