Mercurial > hg > openjdk > jigsaw > jaxp
changeset 428:f0ad3747b40e
8007389: Remove uses of _ as identifier in jaxp
Reviewed-by: lancea, joehw
author | emc |
---|---|
date | Tue, 05 Feb 2013 14:56:34 +0000 |
parents | 8d65b381880b |
children | 573e789c187a |
files | src/javax/xml/validation/SchemaFactoryFinder.java src/javax/xml/xpath/XPathFactoryFinder.java |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/javax/xml/validation/SchemaFactoryFinder.java Thu Jan 31 17:04:37 2013 -0800 +++ b/src/javax/xml/validation/SchemaFactoryFinder.java Tue Feb 05 14:56:34 2013 +0000 @@ -68,7 +68,7 @@ // Use try/catch block to support applets try { debug = ss.getSystemProperty("jaxp.debug") != null; - } catch (Exception _) { + } catch (Exception unused) { debug = false; } } @@ -113,7 +113,7 @@ debugPrintln("using thread context class loader ("+classLoader+") for search"); return; } - } catch( Throwable _ ) { + } catch( Throwable unused ) { ; // getContextClassLoader() undefined in JDK1.1 }
--- a/src/javax/xml/xpath/XPathFactoryFinder.java Thu Jan 31 17:04:37 2013 -0800 +++ b/src/javax/xml/xpath/XPathFactoryFinder.java Tue Feb 05 14:56:34 2013 +0000 @@ -56,7 +56,7 @@ // Use try/catch block to support applets try { debug = ss.getSystemProperty("jaxp.debug") != null; - } catch (Exception _) { + } catch (Exception unused) { debug = false; } } @@ -111,7 +111,7 @@ debugPrintln("using thread context class loader ("+classLoader+") for search"); return; } - } catch( Throwable _ ) { + } catch( Throwable unused ) { ; // getContextClassLoader() undefined in JDK1.1 }