Commit 4ea88e2
EntityId: Soft-deprecate Serializable methods and stop using them
Most callers of serialize() should use getSerialization() instead (tests
for the method specifically are left alone for now); unserialize()
doesn’t even have any callers outside of its tests and __unserialize()
ipmlementations.
While it was never guaranteed that serialize() and getSerialization()
return the same string, this is indeed the case for all EntityId classes
I could find, and a lot of the callers were relying on it anyway.
Bug: T345856
Change-Id: I64e2e54b344e8dd64078f81502d0d067f6ea3a5b1 parent ff0bc18 commit 4ea88e2
2 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
35 | 50 | | |
36 | 51 | | |
37 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments