replace _ with variable for exception

This commit is contained in:
Jacky 2017-11-16 15:55:14 -05:00
parent 46318a9bc4
commit e07b1859db
2 changed files with 3 additions and 3 deletions

View File

@ -414,7 +414,7 @@ public class WikitextImporter extends TabularImportingParserBase {
} else if ("name".equals(currentXmlAttr)) {
currentReferenceName = xmlAttrStringBuilder.toString();
}
} catch (NumberFormatException _) {
} catch (NumberFormatException nfe) {
}
currentXmlAttr = null;
xmlAttrStringBuilder = null;
@ -425,7 +425,7 @@ public class WikitextImporter extends TabularImportingParserBase {
try {
currentXmlAttr = e.getAsString();
} catch (UnsupportedOperationException _) {
} catch (UnsupportedOperationException soe) {
currentXmlAttr = null;
}
}

View File

@ -252,7 +252,7 @@ public class StandardReconConfig extends ReconConfig {
job.text = query;
job.code = stringWriter.toString();
return job;
} catch (JSONException _) {
} catch (JSONException je) {
return null;
}
}