We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dd417c commit 1c771d7Copy full SHA for 1c771d7
src/g2html/Loc.java
@@ -48,7 +48,7 @@ static public void parseLocNode(XMLStreamReader parser, Result res, ResultStats
48
while(readcc.hasNext()){
49
int eventType = readcc.getEventType();
50
// add function name to the loc xml-node
51
- if (eventType==XMLStreamConstants.START_ELEMENT && readcc.getLocalName()=="loc"){
+ if (eventType==XMLStreamConstants.START_ELEMENT && readcc.getLocalName() != null && readcc.getLocalName().equals("loc")){
52
String funName = fileStats.getNodeFun(id);
53
if (null==funName) {
54
lostAndFound.append(id+"\n");
0 commit comments