Revize 4bbee803
Přidáno uživatelem Jan Havlíček před více než 4 roky(ů)
demo_jh/Deserializer_tests/src/samples/ok/Simple.java | ||
---|---|---|
9 | 9 |
private String pozdrav = "AHOJ"; |
10 | 10 |
private int testInt = 123; |
11 | 11 |
private double testDouble = 1.00; |
12 |
private int[] intArray = new int[3]; |
|
13 |
private String[] stringArray = new String[3]; |
|
12 | 14 |
|
13 | 15 |
public Simple() |
14 | 16 |
{ |
15 | 17 |
int locInt = 5; |
18 |
this.intArray[0] = 5; |
|
19 |
this.intArray[1] = 10; |
|
20 |
this.intArray[2] = 15; |
|
21 |
|
|
22 |
this.stringArray[0] = "A"; |
|
23 |
this.stringArray[1] = "B"; |
|
24 |
this.stringArray[2] = "C"; |
|
16 | 25 |
} |
17 | 26 |
} |
Také k dispozici: Unified diff
#7794 Got rid of simpleToString.
Rewrote the toString() instead (no need to re-cast Object types)