@@ -85,6 +85,7 @@ public SerializedInfoflowResults readResults(String fileName) throws XMLStreamEx
85
85
86
86
// Read the attributes
87
87
statement = getAttributeByName (reader , XmlConstants .Attributes .statement );
88
+ method = getAttributeByName (reader , XmlConstants .Attributes .method );
88
89
} else if (reader .getLocalName ().equals (XmlConstants .Tags .accessPath ) && reader .isStartElement ()) {
89
90
stateStack .push (State .accessPath );
90
91
@@ -175,18 +176,18 @@ public SerializedInfoflowResults readResults(String fileName) throws XMLStreamEx
175
176
} else if (reader .isEndElement ()) {
176
177
stateStack .pop ();
177
178
178
- if (reader .getLocalName ().equals (XmlConstants .Tags .accessPath ))
179
+ if (reader .getLocalName ().equals (XmlConstants .Tags .accessPath )) {
179
180
ap = new SerializedAccessPath (apValue , apValueType , apTaintSubFields ,
180
181
apFields .toArray (new String [apFields .size ()]),
181
182
apTypes .toArray (new String [apTypes .size ()]));
182
- else if (reader .getLocalName ().equals (XmlConstants .Tags .sink ))
183
+ } else if (reader .getLocalName ().equals (XmlConstants .Tags .sink )) {
183
184
sink = new SerializedSinkInfo (ap , statement , method );
184
- else if (reader .getLocalName ().equals (XmlConstants .Tags .source ))
185
+ } else if (reader .getLocalName ().equals (XmlConstants .Tags .source )) {
185
186
source = new SerializedSourceInfo (ap , statement , method , pathElements );
186
- else if (reader .getLocalName ().equals (XmlConstants .Tags .result ))
187
187
results .addResult (source , sink );
188
- else if (reader .getLocalName ().equals (XmlConstants .Tags .pathElement ))
188
+ } else if (reader .getLocalName ().equals (XmlConstants .Tags .pathElement )) {
189
189
pathElements .add (new SerializedPathElement (ap , statement , method ));
190
+ }
190
191
}
191
192
}
192
193
0 commit comments