< prev index next >

test/javax/xml/jaxp/unittest/javax/xml/validation/Bug4969089.java

Print this page
rev 670 : [mq]: 8061549

@@ -50,15 +50,15 @@
         final SAXException EUREKA = new SAXException("NewSchema007");
         SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
         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;
             }
         };
         schemaFactory.setErrorHandler(errorHandler);
 
< prev index next >