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)) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user