You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by mu...@apache.org on 2019/03/27 10:01:55 UTC

svn commit: r1856378 - in /xerces/xml-commons/trunk/java/src/org/apache/xml/resolver: Catalog.java Resolver.java

Author: mukulg
Date: Wed Mar 27 10:01:54 2019
New Revision: 1856378

URL: http://svn.apache.org/viewvc?rev=1856378&view=rev
Log:
cosmetic improvements to code. commenting few unused variables

Modified:
    xerces/xml-commons/trunk/java/src/org/apache/xml/resolver/Catalog.java
    xerces/xml-commons/trunk/java/src/org/apache/xml/resolver/Resolver.java

Modified: xerces/xml-commons/trunk/java/src/org/apache/xml/resolver/Catalog.java
URL: http://svn.apache.org/viewvc/xerces/xml-commons/trunk/java/src/org/apache/xml/resolver/Catalog.java?rev=1856378&r1=1856377&r2=1856378&view=diff
==============================================================================
--- xerces/xml-commons/trunk/java/src/org/apache/xml/resolver/Catalog.java (original)
+++ xerces/xml-commons/trunk/java/src/org/apache/xml/resolver/Catalog.java Wed Mar 27 10:01:54 2019
@@ -805,7 +805,7 @@ public class Catalog {
     protected synchronized void parseCatalogFile(String fileName)
             throws MalformedURLException, IOException, CatalogException {
 
-        CatalogEntry entry;
+        // CatalogEntry entry;
 
         // The base-base is the cwd. If the catalog file is specified
         // with a relative path, this assures that it gets resolved

Modified: xerces/xml-commons/trunk/java/src/org/apache/xml/resolver/Resolver.java
URL: http://svn.apache.org/viewvc/xerces/xml-commons/trunk/java/src/org/apache/xml/resolver/Resolver.java?rev=1856378&r1=1856377&r2=1856378&view=diff
==============================================================================
--- xerces/xml-commons/trunk/java/src/org/apache/xml/resolver/Resolver.java (original)
+++ xerces/xml-commons/trunk/java/src/org/apache/xml/resolver/Resolver.java Wed Mar 27 10:01:54 2019
@@ -359,7 +359,7 @@ public class Resolver extends Catalog {
 	String RFC2483 = resolver + "?command=" + command 
 	    + "&format=tr9401&uri=" + arg1 
 	    + "&uri2=" + arg2;
-	String line = null;
+	// String line = null;
 
 	try {
 	    URL url = new URL(RFC2483);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org