Offset 1, 1734 lines modified | Offset 1, 1734 lines modified |
Offset 41, 851 lines modified | Offset 41, 851 lines modified | ||
00000280:·9311·0000·a611·0000·ad11·0000·ba11·0000··................ | 00000280:·9311·0000·a611·0000·ad11·0000·ba11·0000··................ | ||
00000290:·c511·0000·ca11·0000·cf11·0000·d411·0000··................ | 00000290:·c511·0000·ca11·0000·cf11·0000·d411·0000··................ | ||
000002a0:·d811·0000·de11·0000·e411·0000·ea11·0000··................ | 000002a0:·d811·0000·de11·0000·e411·0000·ea11·0000··................ | ||
000002b0:·f011·0000·0112·0000·0e12·0000·2312·0000··............#... | 000002b0:·f011·0000·0112·0000·0e12·0000·2312·0000··............#... | ||
000002c0:·3812·0000·8112·0000·9812·0000·a112·0000··8............... | 000002c0:·3812·0000·8112·0000·9812·0000·a112·0000··8............... | ||
000002d0:·b812·0000·cf12·0000·dd12·0000·f712·0000··................ | 000002d0:·b812·0000·cf12·0000·dd12·0000·f712·0000··................ | ||
Offset 1193, 7667 lines modified | Offset 1193, 7667 lines modified | ||
Offset 16173, 74 lines modified | Offset 16173, 74 lines modified | ||
Offset 16257, 133 lines modified | Offset 16257, 133 lines modified | ||
Offset 16393, 73 lines modified | Offset 16393, 73 lines modified | ||
Offset 18415, 37 lines modified | Offset 18415, 37 lines modified | ||
Offset 18480, 24 lines modified | Offset 18480, 24 lines modified | ||
Offset 18551, 16 lines modified | Offset 18551, 16 lines modified | ||
Offset 18698, 15 lines modified | Offset 18698, 15 lines modified | ||
Offset 18742, 24 lines modified | Offset 18742, 24 lines modified | ||
Offset 21441, 70 lines modified | Offset 21441, 70 lines modified | ||
Offset 21576, 176 lines modified | Offset 21576, 176 lines modified | ||
Offset 21817, 15 lines modified | Offset 21817, 15 lines modified | ||
Offset 21897, 36 lines modified | Offset 21897, 36 lines modified | ||
Offset 21998, 15 lines modified | Offset 21998, 15 lines modified | ||
Offset 22078, 68 lines modified | Offset 22078, 68 lines modified | ||
Offset 22211, 133 lines modified | Offset 22211, 133 lines modified | ||
Offset 22409, 17 lines modified | Offset 22409, 17 lines modified | ||
Offset 22491, 133 lines modified | Offset 22491, 133 lines modified | ||
Offset 22689, 17 lines modified | Offset 22689, 17 lines modified | ||
Offset 22771, 131 lines modified | Offset 22771, 131 lines modified | ||
Offset 22967, 17 lines modified | Offset 22967, 17 lines modified | ||
Offset 23049, 126 lines modified | Offset 23049, 126 lines modified | ||
Offset 23240, 17 lines modified | Offset 23240, 17 lines modified | ||
Offset 23322, 100 lines modified | Offset 23322, 100 lines modified | ||
Offset 23487, 17 lines modified | Offset 23487, 17 lines modified | ||
Offset 25177, 250 lines modified | Offset 25177, 250 lines modified | ||
Offset 25477, 20 lines modified | Offset 25477, 20 lines modified | ||
Offset 25547, 104 lines modified | Offset 25547, 104 lines modified | ||
Offset 25701, 18 lines modified | Offset 25701, 18 lines modified | ||
Offset 25769, 16 lines modified | Offset 25769, 16 lines modified | ||
Offset 25835, 16 lines modified | Offset 25835, 16 lines modified | ||
Offset 25901, 28 lines modified | Offset 25901, 28 lines modified | ||
Offset 25979, 15 lines modified | Offset 25979, 15 lines modified | ||
Offset 26044, 17 lines modified | Offset 26044, 17 lines modified | ||
Offset 26111, 15 lines modified | Offset 26111, 15 lines modified | ||
Offset 26176, 15 lines modified | Offset 26176, 15 lines modified | ||
Offset 26241, 19 lines modified | Offset 26241, 19 lines modified | ||
Offset 26310, 15 lines modified | Offset 26310, 15 lines modified | ||
Offset 26375, 15 lines modified | Offset 26375, 15 lines modified | ||
Offset 26440, 18 lines modified | Offset 26440, 18 lines modified | ||
Offset 26508, 16 lines modified | Offset 26508, 16 lines modified | ||
Offset 26574, 18 lines modified | Offset 26574, 18 lines modified | ||
Offset 26642, 43 lines modified | Offset 26642, 43 lines modified | ||
Offset 27012, 683 lines modified | Offset 27012, 683 lines modified | ||
Offset 27856, 41 lines modified | Offset 27856, 41 lines modified | ||
Offset 28055, 33 lines modified | Offset 28055, 33 lines modified | ||
Offset 28247, 41 lines modified | Offset 28247, 41 lines modified | ||
Offset 28446, 41 lines modified | Offset 28446, 41 lines modified | ||
Offset 28646, 41 lines modified | Offset 28646, 41 lines modified | ||
Offset 28845, 33 lines modified | Offset 28845, 33 lines modified | ||
Offset 29037, 33 lines modified | Offset 29037, 33 lines modified | ||
Offset 29228, 33 lines modified | Offset 29228, 33 lines modified | ||
Offset 29420, 22 lines modified | Offset 29420, 22 lines modified | ||
Offset 29600, 33 lines modified | Offset 29600, 33 lines modified | ||
Offset 29792, 50 lines modified | Offset 29792, 50 lines modified | ||
Offset 30000, 33 lines modified | Offset 30000, 33 lines modified | ||
Offset 30192, 22 lines modified | Offset 30192, 22 lines modified | ||
Offset 30372, 33 lines modified | Offset 30372, 33 lines modified | ||
Offset 30564, 33 lines modified | Offset 30564, 33 lines modified | ||
Offset 30755, 33 lines modified | Offset 30755, 33 lines modified | ||
Offset 30947, 33 lines modified | Offset 30947, 33 lines modified | ||
Offset 31138, 33 lines modified | Offset 31138, 33 lines modified | ||
Offset 31330, 41 lines modified | Offset 31330, 41 lines modified | ||
Offset 31529, 33 lines modified | Offset 31529, 33 lines modified | ||
Offset 31721, 33 lines modified | Offset 31721, 33 lines modified | ||
Offset 31912, 33 lines modified | Offset 31912, 33 lines modified | ||
Offset 32104, 33 lines modified | Offset 32104, 33 lines modified | ||
Offset 32295, 33 lines modified | Offset 32295, 33 lines modified | ||
Offset 32487, 41 lines modified | Offset 32487, 41 lines modified | ||
Offset 32686, 41 lines modified | Offset 32686, 41 lines modified | ||
Offset 32886, 33 lines modified | Offset 32886, 33 lines modified | ||
Offset 33077, 33 lines modified | Offset 33077, 33 lines modified | ||
Offset 33269, 41 lines modified | Offset 33269, 41 lines modified | ||
Offset 33468, 41 lines modified | Offset 33468, 41 lines modified | ||
Offset 33668, 41 lines modified | Offset 33668, 41 lines modified | ||
Offset 33867, 33 lines modified | Offset 33867, 33 lines modified | ||
Offset 34059, 33 lines modified | Offset 34059, 33 lines modified | ||
Offset 34250, 33 lines modified | Offset 34250, 33 lines modified | ||
Offset 34442, 33 lines modified | Offset 34442, 33 lines modified | ||
Offset 34633, 33 lines modified | Offset 34633, 33 lines modified | ||
Offset 34825, 33 lines modified | Offset 34825, 33 lines modified | ||
Offset 35016, 33 lines modified | Offset 35016, 33 lines modified | ||
Offset 35208, 41 lines modified | Offset 35208, 41 lines modified | ||
Offset 35407, 33 lines modified | Offset 35407, 33 lines modified | ||
Offset 35599, 41 lines modified | Offset 35599, 41 lines modified | ||
Offset 35798, 33 lines modified | Offset 35798, 33 lines modified | ||
Offset 35990, 41 lines modified | Offset 35990, 41 lines modified | ||
Offset 36189, 41 lines modified | Offset 36189, 41 lines modified | ||
Offset 36389, 41 lines modified | Offset 36389, 41 lines modified | ||
Offset 36588, 33 lines modified | Offset 36588, 33 lines modified | ||
Offset 36780, 41 lines modified | Offset 36780, 41 lines modified | ||
Offset 36979, 33 lines modified | Offset 36979, 33 lines modified | ||
Offset 37171, 41 lines modified | Offset 37171, 41 lines modified | ||
Offset 37370, 33 lines modified | Offset 37370, 33 lines modified | ||
Offset 37562, 33 lines modified | Offset 37562, 33 lines modified | ||
Offset 37753, 41 lines modified | Offset 37753, 41 lines modified | ||
Offset 37953, 41 lines modified | Offset 37953, 41 lines modified | ||
Offset 38152, 33 lines modified | Offset 38152, 33 lines modified | ||
Offset 38344, 33 lines modified | Offset 38344, 33 lines modified | ||
Offset 38535, 33 lines modified | Offset 38535, 33 lines modified | ||
Offset 38727, 49 lines modified | Offset 38727, 49 lines modified | ||
Offset 38934, 33 lines modified | Offset 38934, 33 lines modified | ||
Offset 39126, 33 lines modified | Offset 39126, 33 lines modified | ||
Offset 39317, 33 lines modified | Offset 39317, 33 lines modified | ||
Offset 39509, 33 lines modified | Offset 39509, 33 lines modified | ||
Offset 39700, 41 lines modified | Offset 39700, 41 lines modified | ||
Offset 39900, 41 lines modified | Offset 39900, 41 lines modified | ||
Offset 40099, 33 lines modified | Offset 40099, 33 lines modified | ||
Offset 40291, 33 lines modified | Offset 40291, 33 lines modified | ||
Offset 40482, 33 lines modified | Offset 40482, 33 lines modified | ||
Offset 40674, 33 lines modified | Offset 40674, 33 lines modified | ||
Offset 40865, 33 lines modified | Offset 40865, 33 lines modified | ||
Offset 41057, 33 lines modified | Offset 41057, 33 lines modified | ||
Offset 41248, 33 lines modified | Offset 41248, 33 lines modified | ||
Offset 41440, 33 lines modified | Offset 41440, 33 lines modified | ||
Offset 41631, 33 lines modified | Offset 41631, 33 lines modified | ||
Offset 41823, 41 lines modified | Offset 41823, 41 lines modified | ||
Offset 42022, 32 lines modified | Offset 42022, 32 lines modified | ||
Offset 42213, 33 lines modified | Offset 42213, 33 lines modified | ||
Offset 42404, 33 lines modified | Offset 42404, 33 lines modified | ||
Offset 42596, 32 lines modified | Offset 42596, 32 lines modified | ||
Max diff block lines reached; 40679/1842285 bytes (2.21%) of diff not shown. |
Offset 146035, 15 lines modified | Offset 146035, 15 lines modified | ||
146035 | ··version·of·encoding·software:···················2.0 | 146035 | ··version·of·encoding·software:···················2.0 |
146036 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT | 146036 | ··minimum·file·system·compatibility·required:·····MS-DOS,·OS/2·or·NT·FAT |
146037 | ··minimum·software·version·required·to·extract:···2.0 | 146037 | ··minimum·software·version·required·to·extract:···2.0 |
146038 | ··compression·method:·····························none·(stored) | 146038 | ··compression·method:·····························none·(stored) |
146039 | ··file·security·status:···························not·encrypted | 146039 | ··file·security·status:···························not·encrypted |
146040 | ··extended·local·header:··························no | 146040 | ··extended·local·header:··························no |
146041 | ··file·last·modified·on·(DOS·date/time):··········1980·Jan·1·00:00:00 | 146041 | ··file·last·modified·on·(DOS·date/time):··········1980·Jan·1·00:00:00 |
146042 | ··32-bit·CRC·value·(hex):························· | 146042 | ··32-bit·CRC·value·(hex):·························c9a64958 |
146043 | ··compressed·size:································8107·bytes | 146043 | ··compressed·size:································8107·bytes |
146044 | ··uncompressed·size:······························8107·bytes | 146044 | ··uncompressed·size:······························8107·bytes |
146045 | ··length·of·filename:·····························41·characters | 146045 | ··length·of·filename:·····························41·characters |
146046 | ··length·of·extra·field:··························0·bytes | 146046 | ··length·of·extra·field:··························0·bytes |
146047 | ··length·of·file·comment:·························0·characters | 146047 | ··length·of·file·comment:·························0·characters |
146048 | ··disk·number·on·which·file·begins:···············disk·1 | 146048 | ··disk·number·on·which·file·begins:···············disk·1 |
146049 | ··apparent·file·type:·····························binary | 146049 | ··apparent·file·type:·····························binary |
Offset 11, 149 lines modified | Offset 11, 149 lines modified | ||
11 | import·org.json.JSONObject; | 11 | import·org.json.JSONObject; |
12 | import·io.realm.internal.ColumnInfo; | 12 | import·io.realm.internal.ColumnInfo; |
13 | import·io.realm.internal.OsSchemaInfo; | 13 | import·io.realm.internal.OsSchemaInfo; |
14 | import·java.io.Serializable; | 14 | import·java.io.Serializable; |
15 | import·io.realm.internal.RealmObjectProxy; | 15 | import·io.realm.internal.RealmObjectProxy; |
16 | import·java.util.Map; | 16 | import·java.util.Map; |
17 | import·java.util.Collections; | 17 | import·java.util.Collections; |
18 | import·io.pslab.models.SensorLogged; | ||
19 | import·io.pslab.models.SensorDataBlock; | ||
20 | import·io.pslab.models.DataMPU6050; | 18 | import·io.pslab.models.DataMPU6050; |
19 | import·io.pslab.models.SensorDataBlock; | ||
20 | import·io.pslab.models.SensorLogged; | ||
21 | import·io.pslab.models.LuxData; | 21 | import·io.pslab.models.LuxData; |
22 | import·java.util.HashSet; | 22 | import·java.util.HashSet; |
23 | import·java.util.Set; | 23 | import·java.util.Set; |
24 | import·io.realm.internal.RealmProxyMediator; | 24 | import·io.realm.internal.RealmProxyMediator; |
25 | class·DefaultRealmModuleMediator·extends·RealmProxyMediator | 25 | class·DefaultRealmModuleMediator·extends·RealmProxyMediator |
26 | { | 26 | { |
27 | ····private·static·final·Set·MODEL_CLASSES; | 27 | ····private·static·final·Set·MODEL_CLASSES; |
28 | ···· | 28 | ···· |
29 | ····static·{ | 29 | ····static·{ |
30 | ········final·HashSet<Class<LuxData>>·s·=·new·HashSet<Class<LuxData>>(4); | 30 | ········final·HashSet<Class<LuxData>>·s·=·new·HashSet<Class<LuxData>>(4); |
31 | ········s.add( | 31 | ········s.add(SensorLogged.class); |
32 | ········s.add((Class<LuxData>)SensorDataBlock.class); | 32 | ········s.add((Class<LuxData>)SensorDataBlock.class); |
33 | ········s.add((Class<LuxData>) | 33 | ········s.add((Class<LuxData>)DataMPU6050.class); |
34 | ········s.add(LuxData.class); | 34 | ········s.add(LuxData.class); |
35 | ········MODEL_CLASSES·=·Collections.unmodifiableSet((Set<?>)s); | 35 | ········MODEL_CLASSES·=·Collections.unmodifiableSet((Set<?>)s); |
36 | ····} | 36 | ····} |
37 | ···· | 37 | ···· |
38 | ····public·RealmModel·copyOrUpdate(final·Realm·realm,·final·RealmModel·realmModel,·final·boolean·b,·final·Map·map)·{ | 38 | ····public·RealmModel·copyOrUpdate(final·Realm·realm,·final·RealmModel·realmModel,·final·boolean·b,·final·Map·map)·{ |
39 | ········Serializable·s; | 39 | ········Serializable·s; |
40 | ········if·(realmModel·instanceof·RealmObjectProxy)·{ | 40 | ········if·(realmModel·instanceof·RealmObjectProxy)·{ |
41 | ············s·=·realmModel.getClass().getSuperclass(); | 41 | ············s·=·realmModel.getClass().getSuperclass(); |
42 | ········} | 42 | ········} |
43 | ········else·{ | 43 | ········else·{ |
44 | ············s·=·realmModel.getClass(); | 44 | ············s·=·realmModel.getClass(); |
45 | ········} | 45 | ········} |
46 | ········if·(s.equals( | 46 | ········if·(s.equals(SensorLogged.class))·{ |
47 | ············return·((Class<RealmModel>)s).cast(io_pslab_models_ | 47 | ············return·((Class<RealmModel>)s).cast(io_pslab_models_SensorLoggedRealmProxy.copyOrUpdate(realm,·(SensorLogged)realmModel,·b,·map)); |
48 | ········} | 48 | ········} |
49 | ········if·(s.equals(SensorDataBlock.class))·{ | 49 | ········if·(s.equals(SensorDataBlock.class))·{ |
50 | ············return·((Class<RealmModel>)s).cast(io_pslab_models_SensorDataBlockRealmProxy.copyOrUpdate(realm,·(SensorDataBlock)realmModel,·b,·map)); | 50 | ············return·((Class<RealmModel>)s).cast(io_pslab_models_SensorDataBlockRealmProxy.copyOrUpdate(realm,·(SensorDataBlock)realmModel,·b,·map)); |
51 | ········} | 51 | ········} |
52 | ········if·(s.equals( | 52 | ········if·(s.equals(DataMPU6050.class))·{ |
53 | ············return·((Class<RealmModel>)s).cast(io_pslab_models_ | 53 | ············return·((Class<RealmModel>)s).cast(io_pslab_models_DataMPU6050RealmProxy.copyOrUpdate(realm,·(DataMPU6050)realmModel,·b,·map)); |
54 | ········} | 54 | ········} |
55 | ········if·(s.equals(LuxData.class))·{ | 55 | ········if·(s.equals(LuxData.class))·{ |
56 | ············return·((Class<RealmModel>)s).cast(io_pslab_models_LuxDataRealmProxy.copyOrUpdate(realm,·(LuxData)realmModel,·b,·map)); | 56 | ············return·((Class<RealmModel>)s).cast(io_pslab_models_LuxDataRealmProxy.copyOrUpdate(realm,·(LuxData)realmModel,·b,·map)); |
57 | ········} | 57 | ········} |
58 | ········throw·getMissingProxyClassException((Class)s); | 58 | ········throw·getMissingProxyClassException((Class)s); |
59 | ····} | 59 | ····} |
60 | ···· | 60 | ···· |
61 | ····public·ColumnInfo·createColumnInfo(final·Class·clazz,·final·OsSchemaInfo·osSchemaInfo)·{ | 61 | ····public·ColumnInfo·createColumnInfo(final·Class·clazz,·final·OsSchemaInfo·osSchemaInfo)·{ |
62 | ········checkClass(clazz); | 62 | ········checkClass(clazz); |
63 | ········if·(clazz.equals( | 63 | ········if·(clazz.equals(SensorLogged.class))·{ |
64 | ············return·(ColumnInfo)io_pslab_models_ | 64 | ············return·(ColumnInfo)io_pslab_models_SensorLoggedRealmProxy.createColumnInfo(osSchemaInfo); |
65 | ········} | 65 | ········} |
66 | ········if·(clazz.equals(SensorDataBlock.class))·{ | 66 | ········if·(clazz.equals(SensorDataBlock.class))·{ |
67 | ············return·(ColumnInfo)io_pslab_models_SensorDataBlockRealmProxy.createColumnInfo(osSchemaInfo); | 67 | ············return·(ColumnInfo)io_pslab_models_SensorDataBlockRealmProxy.createColumnInfo(osSchemaInfo); |
68 | ········} | 68 | ········} |
69 | ········if·(clazz.equals( | 69 | ········if·(clazz.equals(DataMPU6050.class))·{ |
70 | ············return·(ColumnInfo)io_pslab_models_ | 70 | ············return·(ColumnInfo)io_pslab_models_DataMPU6050RealmProxy.createColumnInfo(osSchemaInfo); |
71 | ········} | 71 | ········} |
72 | ········if·(clazz.equals(LuxData.class))·{ | 72 | ········if·(clazz.equals(LuxData.class))·{ |
73 | ············return·(ColumnInfo)io_pslab_models_LuxDataRealmProxy.createColumnInfo(osSchemaInfo); | 73 | ············return·(ColumnInfo)io_pslab_models_LuxDataRealmProxy.createColumnInfo(osSchemaInfo); |
74 | ········} | 74 | ········} |
75 | ········throw·getMissingProxyClassException(clazz); | 75 | ········throw·getMissingProxyClassException(clazz); |
76 | ····} | 76 | ····} |
77 | ···· | 77 | ···· |
78 | ····public·RealmModel·createDetachedCopy(final·RealmModel·realmModel,·final·int·n,·final·Map·map)·{ | 78 | ····public·RealmModel·createDetachedCopy(final·RealmModel·realmModel,·final·int·n,·final·Map·map)·{ |
79 | ········final·Class<?·super·RealmModel>·superclass·=·realmModel.getClass().getSuperclass(); | 79 | ········final·Class<?·super·RealmModel>·superclass·=·realmModel.getClass().getSuperclass(); |
80 | ········if·(superclass.equals( | 80 | ········if·(superclass.equals(SensorLogged.class))·{ |
81 | ············return·superclass.cast(io_pslab_models_ | 81 | ············return·superclass.cast(io_pslab_models_SensorLoggedRealmProxy.createDetachedCopy((SensorLogged)realmModel,·0,·n,·map)); |
82 | ········} | 82 | ········} |
83 | ········if·(superclass.equals(SensorDataBlock.class))·{ | 83 | ········if·(superclass.equals(SensorDataBlock.class))·{ |
84 | ············return·superclass.cast(io_pslab_models_SensorDataBlockRealmProxy.createDetachedCopy((SensorDataBlock)realmModel,·0,·n,·map)); | 84 | ············return·superclass.cast(io_pslab_models_SensorDataBlockRealmProxy.createDetachedCopy((SensorDataBlock)realmModel,·0,·n,·map)); |
85 | ········} | 85 | ········} |
86 | ········if·(superclass.equals( | 86 | ········if·(superclass.equals(DataMPU6050.class))·{ |
87 | ············return·superclass.cast(io_pslab_models_ | 87 | ············return·superclass.cast(io_pslab_models_DataMPU6050RealmProxy.createDetachedCopy((DataMPU6050)realmModel,·0,·n,·map)); |
88 | ········} | 88 | ········} |
89 | ········if·(superclass.equals(LuxData.class))·{ | 89 | ········if·(superclass.equals(LuxData.class))·{ |
90 | ············return·superclass.cast(io_pslab_models_LuxDataRealmProxy.createDetachedCopy((LuxData)realmModel,·0,·n,·map)); | 90 | ············return·superclass.cast(io_pslab_models_LuxDataRealmProxy.createDetachedCopy((LuxData)realmModel,·0,·n,·map)); |
91 | ········} | 91 | ········} |
92 | ········throw·getMissingProxyClassException((Class)superclass); | 92 | ········throw·getMissingProxyClassException((Class)superclass); |
93 | ····} | 93 | ····} |
94 | ···· | 94 | ···· |
95 | ····public·RealmModel·createOrUpdateUsingJsonObject(final·Class·clazz,·final·Realm·realm,·final·JSONObject·jsonObject,·final·boolean·b)·{ | 95 | ····public·RealmModel·createOrUpdateUsingJsonObject(final·Class·clazz,·final·Realm·realm,·final·JSONObject·jsonObject,·final·boolean·b)·{ |
96 | ········checkClass(clazz); | 96 | ········checkClass(clazz); |
97 | ········if·(clazz.equals( | 97 | ········if·(clazz.equals(SensorLogged.class))·{ |
98 | ············return·clazz.cast(io_pslab_models_ | 98 | ············return·clazz.cast(io_pslab_models_SensorLoggedRealmProxy.createOrUpdateUsingJsonObject(realm,·jsonObject,·b)); |
99 | ········} | 99 | ········} |
100 | ········if·(clazz.equals(SensorDataBlock.class))·{ | 100 | ········if·(clazz.equals(SensorDataBlock.class))·{ |
101 | ············return·clazz.cast(io_pslab_models_SensorDataBlockRealmProxy.createOrUpdateUsingJsonObject(realm,·jsonObject,·b)); | 101 | ············return·clazz.cast(io_pslab_models_SensorDataBlockRealmProxy.createOrUpdateUsingJsonObject(realm,·jsonObject,·b)); |
102 | ········} | 102 | ········} |
103 | ········if·(clazz.equals( | 103 | ········if·(clazz.equals(DataMPU6050.class))·{ |
104 | ············return·clazz.cast(io_pslab_models_ | 104 | ············return·clazz.cast(io_pslab_models_DataMPU6050RealmProxy.createOrUpdateUsingJsonObject(realm,·jsonObject,·b)); |
105 | ········} | 105 | ········} |
106 | ········if·(clazz.equals(LuxData.class))·{ | 106 | ········if·(clazz.equals(LuxData.class))·{ |
107 | ············return·clazz.cast(io_pslab_models_LuxDataRealmProxy.createOrUpdateUsingJsonObject(realm,·jsonObject,·b)); | 107 | ············return·clazz.cast(io_pslab_models_LuxDataRealmProxy.createOrUpdateUsingJsonObject(realm,·jsonObject,·b)); |
108 | ········} | 108 | ········} |
109 | ········throw·getMissingProxyClassException(clazz); | 109 | ········throw·getMissingProxyClassException(clazz); |
110 | ····} | 110 | ····} |
111 | ···· | 111 | ···· |
112 | ····public·RealmModel·createUsingJsonStream(final·Class·clazz,·final·Realm·realm,·final·JsonReader·jsonReader)·{ | 112 | ····public·RealmModel·createUsingJsonStream(final·Class·clazz,·final·Realm·realm,·final·JsonReader·jsonReader)·{ |
113 | ········checkClass(clazz); | 113 | ········checkClass(clazz); |
114 | ········if·(clazz.equals( | 114 | ········if·(clazz.equals(SensorLogged.class))·{ |
115 | ············return·clazz.cast(io_pslab_models_ | 115 | ············return·clazz.cast(io_pslab_models_SensorLoggedRealmProxy.createUsingJsonStream(realm,·jsonReader)); |
116 | ········} | 116 | ········} |
117 | ········if·(clazz.equals(SensorDataBlock.class))·{ | 117 | ········if·(clazz.equals(SensorDataBlock.class))·{ |
118 | ············return·clazz.cast(io_pslab_models_SensorDataBlockRealmProxy.createUsingJsonStream(realm,·jsonReader)); | 118 | ············return·clazz.cast(io_pslab_models_SensorDataBlockRealmProxy.createUsingJsonStream(realm,·jsonReader)); |
119 | ········} | 119 | ········} |
120 | ········if·(clazz.equals( | 120 | ········if·(clazz.equals(DataMPU6050.class))·{ |
121 | ············return·clazz.cast(io_pslab_models_ | 121 | ············return·clazz.cast(io_pslab_models_DataMPU6050RealmProxy.createUsingJsonStream(realm,·jsonReader)); |
122 | ········} | 122 | ········} |
123 | ········if·(clazz.equals(LuxData.class))·{ | 123 | ········if·(clazz.equals(LuxData.class))·{ |
124 | ············return·clazz.cast(io_pslab_models_LuxDataRealmProxy.createUsingJsonStream(realm,·jsonReader)); | 124 | ············return·clazz.cast(io_pslab_models_LuxDataRealmProxy.createUsingJsonStream(realm,·jsonReader)); |
125 | ········} | 125 | ········} |
126 | ········throw·getMissingProxyClassException(clazz); | 126 | ········throw·getMissingProxyClassException(clazz); |
127 | ····} | 127 | ····} |
128 | ···· | 128 | ···· |
129 | ····public·Map·getExpectedObjectSchemaInfoMap()·{ | 129 | ····public·Map·getExpectedObjectSchemaInfoMap()·{ |
130 | ········final·HashMap<Class< | 130 | ········final·HashMap<Class<SensorLogged>,·OsObjectSchemaInfo>·hashMap·=·new·HashMap<Class<SensorLogged>,·OsObjectSchemaInfo>(4); |
131 | ········hashMap.put(DataMPU6050.class,·io_pslab_models_DataMPU6050RealmProxy.getExpectedObjectSchemaInfo()); | ||
132 | ········hashMap.put((Class<DataMPU6050>)SensorDataBlock.class,·io_pslab_models_SensorDataBlockRealmProxy.getExpectedObjectSchemaInfo()); | ||
133 | ········hashMap.put( | 131 | ········hashMap.put(SensorLogged.class,·io_pslab_models_SensorLoggedRealmProxy.getExpectedObjectSchemaInfo()); |
132 | ········hashMap.put((Class<SensorLogged>)SensorDataBlock.class,·io_pslab_models_SensorDataBlockRealmProxy.getExpectedObjectSchemaInfo()); | ||
Max diff block lines reached; 10117/19231 bytes (52.61%) of diff not shown. |
Offset 30, 25 lines modified | Offset 30, 25 lines modified | ||
30 | ····new-instance·v0,·Ljava/util/HashSet; | 30 | ····new-instance·v0,·Ljava/util/HashSet; |
31 | ····const/4·v1,·0x4 | 31 | ····const/4·v1,·0x4 |
32 | ····invoke-direct·{v0,·v1},·Ljava/util/HashSet;-><init>(I)V | 32 | ····invoke-direct·{v0,·v1},·Ljava/util/HashSet;-><init>(I)V |
33 | ····.line·29 | 33 | ····.line·29 |
34 | ····const-class·v1,·Lio/pslab/models/ | 34 | ····const-class·v1,·Lio/pslab/models/SensorLogged; |
35 | ····invoke-interface·{v0,·v1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z | 35 | ····invoke-interface·{v0,·v1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z |
36 | ····.line·30 | 36 | ····.line·30 |
37 | ····const-class·v1,·Lio/pslab/models/SensorDataBlock; | 37 | ····const-class·v1,·Lio/pslab/models/SensorDataBlock; |
38 | ····invoke-interface·{v0,·v1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z | 38 | ····invoke-interface·{v0,·v1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z |
39 | ····.line·31 | 39 | ····.line·31 |
40 | ····const-class·v1,·Lio/pslab/models/ | 40 | ····const-class·v1,·Lio/pslab/models/DataMPU6050; |
41 | ····invoke-interface·{v0,·v1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z | 41 | ····invoke-interface·{v0,·v1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z |
42 | ····.line·32 | 42 | ····.line·32 |
43 | ····const-class·v1,·Lio/pslab/models/LuxData; | 43 | ····const-class·v1,·Lio/pslab/models/LuxData; |
44 | ····invoke-interface·{v0,·v1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z | 44 | ····invoke-interface·{v0,·v1},·Ljava/util/Set;->add(Ljava/lang/Object;)Z |
Offset 108, 26 lines modified | Offset 108, 26 lines modified | ||
108 | ····:cond_0 | 108 | ····:cond_0 |
109 | ····invoke-virtual·{p2},·Ljava/lang/Object;->getClass()Ljava/lang/Class; | 109 | ····invoke-virtual·{p2},·Ljava/lang/Object;->getClass()Ljava/lang/Class; |
110 | ····move-result-object·v0 | 110 | ····move-result-object·v0 |
111 | ····.line·120 | 111 | ····.line·120 |
112 | ····:goto_0 | 112 | ····:goto_0 |
113 | ····const-class·v1,·Lio/pslab/models/ | 113 | ····const-class·v1,·Lio/pslab/models/SensorLogged; |
114 | ····invoke-virtual·{v0,·v1},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | 114 | ····invoke-virtual·{v0,·v1},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
115 | ····move-result·v1 | 115 | ····move-result·v1 |
116 | ····if-eqz·v1,·:cond_1 | 116 | ····if-eqz·v1,·:cond_1 |
117 | ····.line·121 | 117 | ····.line·121 |
118 | ····check-cast·p2,·Lio/pslab/models/ | 118 | ····check-cast·p2,·Lio/pslab/models/SensorLogged; |
119 | ····invoke-static·{p1,·p2,·p3,·p4},·Lio/realm/io_pslab_models_ | 119 | ····invoke-static·{p1,·p2,·p3,·p4},·Lio/realm/io_pslab_models_SensorLoggedRealmProxy;->copyOrUpdate(Lio/realm/Realm;Lio/pslab/models/SensorLogged;ZLjava/util/Map;)Lio/pslab/models/SensorLogged; |
120 | ····move-result-object·p1 | 120 | ····move-result-object·p1 |
121 | ····invoke-virtual·{v0,·p1},·Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object; | 121 | ····invoke-virtual·{v0,·p1},·Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object; |
122 | ····move-result-object·p1 | 122 | ····move-result-object·p1 |
Offset 158, 26 lines modified | Offset 158, 26 lines modified | ||
158 | ····check-cast·p1,·Lio/realm/RealmModel; | 158 | ····check-cast·p1,·Lio/realm/RealmModel; |
159 | ····return-object·p1 | 159 | ····return-object·p1 |
160 | ····.line·126 | 160 | ····.line·126 |
161 | ····:cond_2 | 161 | ····:cond_2 |
162 | ····const-class·v1,·Lio/pslab/models/ | 162 | ····const-class·v1,·Lio/pslab/models/DataMPU6050; |
163 | ····invoke-virtual·{v0,·v1},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | 163 | ····invoke-virtual·{v0,·v1},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
164 | ····move-result·v1 | 164 | ····move-result·v1 |
165 | ····if-eqz·v1,·:cond_3 | 165 | ····if-eqz·v1,·:cond_3 |
166 | ····.line·127 | 166 | ····.line·127 |
167 | ····check-cast·p2,·Lio/pslab/models/ | 167 | ····check-cast·p2,·Lio/pslab/models/DataMPU6050; |
168 | ····invoke-static·{p1,·p2,·p3,·p4},·Lio/realm/io_pslab_models_ | 168 | ····invoke-static·{p1,·p2,·p3,·p4},·Lio/realm/io_pslab_models_DataMPU6050RealmProxy;->copyOrUpdate(Lio/realm/Realm;Lio/pslab/models/DataMPU6050;ZLjava/util/Map;)Lio/pslab/models/DataMPU6050; |
169 | ····move-result-object·p1 | 169 | ····move-result-object·p1 |
170 | ····invoke-virtual·{v0,·p1},·Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object; | 170 | ····invoke-virtual·{v0,·p1},·Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object; |
171 | ····move-result-object·p1 | 171 | ····move-result-object·p1 |
Offset 234, 24 lines modified | Offset 234, 24 lines modified | ||
234 | ········} | 234 | ········} |
235 | ····.end·annotation | 235 | ····.end·annotation |
236 | ····.line·48 | 236 | ····.line·48 |
237 | ····invoke-static·{p1},·Lio/realm/DefaultRealmModuleMediator;->checkClass(Ljava/lang/Class;)V | 237 | ····invoke-static·{p1},·Lio/realm/DefaultRealmModuleMediator;->checkClass(Ljava/lang/Class;)V |
238 | ····.line·50 | 238 | ····.line·50 |
239 | ····const-class·v0,·Lio/pslab/models/ | 239 | ····const-class·v0,·Lio/pslab/models/SensorLogged; |
240 | ····invoke-virtual·{p1,·v0},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | 240 | ····invoke-virtual·{p1,·v0},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
241 | ····move-result·v0 | 241 | ····move-result·v0 |
242 | ····if-eqz·v0,·:cond_0 | 242 | ····if-eqz·v0,·:cond_0 |
243 | ····.line·51 | 243 | ····.line·51 |
244 | ····invoke-static·{p2},·Lio/realm/io_pslab_models_ | 244 | ····invoke-static·{p2},·Lio/realm/io_pslab_models_SensorLoggedRealmProxy;->createColumnInfo(Lio/realm/internal/OsSchemaInfo;)Lio/realm/io_pslab_models_SensorLoggedRealmProxy$SensorLoggedColumnInfo; |
245 | ····move-result-object·p1 | 245 | ····move-result-object·p1 |
246 | ····return-object·p1 | 246 | ····return-object·p1 |
247 | ····.line·53 | 247 | ····.line·53 |
248 | ····:cond_0 | 248 | ····:cond_0 |
Offset 268, 24 lines modified | Offset 268, 24 lines modified | ||
268 | ····move-result-object·p1 | 268 | ····move-result-object·p1 |
269 | ····return-object·p1 | 269 | ····return-object·p1 |
270 | ····.line·56 | 270 | ····.line·56 |
271 | ····:cond_1 | 271 | ····:cond_1 |
272 | ····const-class·v0,·Lio/pslab/models/ | 272 | ····const-class·v0,·Lio/pslab/models/DataMPU6050; |
273 | ····invoke-virtual·{p1,·v0},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z | 273 | ····invoke-virtual·{p1,·v0},·Ljava/lang/Object;->equals(Ljava/lang/Object;)Z |
274 | ····move-result·v0 | 274 | ····move-result·v0 |
275 | ····if-eqz·v0,·:cond_2 | 275 | ····if-eqz·v0,·:cond_2 |
276 | ····.line·57 | 276 | ····.line·57 |
277 | ····invoke-static·{p2},·Lio/realm/io_pslab_models_ | 277 | ····invoke-static·{p2},·Lio/realm/io_pslab_models_DataMPU6050RealmProxy;->createColumnInfo(Lio/realm/internal/OsSchemaInfo;)Lio/realm/io_pslab_models_DataMPU6050RealmProxy$DataMPU6050ColumnInfo; |
278 | ····move-result-object·p1 | 278 | ····move-result-object·p1 |
279 | ····return-object·p1 | 279 | ····return-object·p1 |
Max diff block lines reached; 21700/26316 bytes (82.46%) of diff not shown. |