replace _ with variable for exception
This commit is contained in:
parent
46318a9bc4
commit
e07b1859db
@ -414,7 +414,7 @@ public class WikitextImporter extends TabularImportingParserBase {
|
|||||||
} else if ("name".equals(currentXmlAttr)) {
|
} else if ("name".equals(currentXmlAttr)) {
|
||||||
currentReferenceName = xmlAttrStringBuilder.toString();
|
currentReferenceName = xmlAttrStringBuilder.toString();
|
||||||
}
|
}
|
||||||
} catch (NumberFormatException _) {
|
} catch (NumberFormatException nfe) {
|
||||||
}
|
}
|
||||||
currentXmlAttr = null;
|
currentXmlAttr = null;
|
||||||
xmlAttrStringBuilder = null;
|
xmlAttrStringBuilder = null;
|
||||||
@ -425,7 +425,7 @@ public class WikitextImporter extends TabularImportingParserBase {
|
|||||||
try {
|
try {
|
||||||
currentXmlAttr = e.getAsString();
|
currentXmlAttr = e.getAsString();
|
||||||
|
|
||||||
} catch (UnsupportedOperationException _) {
|
} catch (UnsupportedOperationException soe) {
|
||||||
currentXmlAttr = null;
|
currentXmlAttr = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -252,7 +252,7 @@ public class StandardReconConfig extends ReconConfig {
|
|||||||
job.text = query;
|
job.text = query;
|
||||||
job.code = stringWriter.toString();
|
job.code = stringWriter.toString();
|
||||||
return job;
|
return job;
|
||||||
} catch (JSONException _) {
|
} catch (JSONException je) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user