8065998: Avoid use of _ as a one-character identifier
Reviewed-by: alanb, chegar, darcy
This commit is contained in:
parent
4eb3839dcc
commit
43f018317f
@ -52,11 +52,11 @@ public class Bug4969089 {
|
||||
StringReader reader = new StringReader(xsd1);
|
||||
StreamSource source = new StreamSource(reader);
|
||||
DefaultHandler errorHandler = new DefaultHandler() {
|
||||
public void fatalError(SAXParseException _) throws SAXException {
|
||||
public void fatalError(SAXParseException unused) throws SAXException {
|
||||
throw EUREKA;
|
||||
}
|
||||
|
||||
public void error(SAXParseException _) throws SAXException {
|
||||
public void error(SAXParseException unused) throws SAXException {
|
||||
throw EUREKA;
|
||||
}
|
||||
};
|
||||
|
@ -50,7 +50,7 @@ public class Bug4991857 {
|
||||
Assert.assertNotNull(xpath);
|
||||
|
||||
Double result = (Double) xpath.evaluate("1+2", d, XPathConstants.NUMBER);
|
||||
} catch (XPathExpressionException _) {
|
||||
} catch (XPathExpressionException unused) {
|
||||
Assert.fail("Unexpected XPathExpressionException thrown");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user