Revize 4bbee803
Přidáno uživatelem Jan Havlíček před více než 4 roky(ů)
demo_jh/Deserializer_tests/src/app/App.java | ||
---|---|---|
131 | 131 |
try { |
132 | 132 |
System.out.println("Starting..."); |
133 | 133 |
|
134 |
this.serialize(new samples.ok.SimpleChild(), "serialized/simpleChild.out");
|
|
134 |
this.serialize(new samples.ok.Simple(), "serialized/simple_arrays.out");
|
|
135 | 135 |
|
136 |
samples.ok.SimpleChild test1 = this.deserialize("serialized/simple.out"); |
|
136 |
//samples.ok.SimpleChild test1 = this.deserialize("serialized/simple.out");
|
|
137 | 137 |
|
138 | 138 |
} catch (Exception e) { |
139 | 139 |
System.out.println(e.toString()); |
Také k dispozici: Unified diff
#7794 Got rid of simpleToString.
Rewrote the toString() instead (no need to re-cast Object types)