Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 18580 invoked from network); 29 Jun 2002 01:52:57 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by 209.66.108.5 with SMTP; 29 Jun 2002 01:52:57 -0000 Received: (qmail 6148 invoked by uid 97); 29 Jun 2002 01:53:12 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 6130 invoked by uid 97); 29 Jun 2002 01:53:12 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 6117 invoked by uid 97); 29 Jun 2002 01:53:11 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: 29 Jun 2002 01:52:51 -0000 Message-ID: <20020629015251.33761.qmail@icarus.apache.org> From: dion@apache.org To: jakarta-commons-cvs@apache.org Subject: cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/xml LatkaVariableEntityResolver.java X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N dion 2002/06/28 18:52:50 Modified: latka/src/java/org/apache/commons/latka/xml LatkaVariableEntityResolver.java Log: Checkstyle fixes Revision Changes Path 1.4 +18 -20 jakarta-commons/latka/src/java/org/apache/commons/latka/xml/LatkaVariableEntityResolver.java Index: LatkaVariableEntityResolver.java =================================================================== RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/xml/LatkaVariableEntityResolver.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- LatkaVariableEntityResolver.java 11 Apr 2002 13:51:14 -0000 1.3 +++ LatkaVariableEntityResolver.java 29 Jun 2002 01:52:50 -0000 1.4 @@ -79,31 +79,29 @@ import org.xml.sax.SAXException; public class LatkaVariableEntityResolver -implements EntityResolver, URIResolver { + implements EntityResolver, URIResolver { - protected static final Category _log = - Category.getInstance(LatkaVariableEntityResolver.class); + protected static final Category _log = Category.getInstance( + LatkaVariableEntityResolver.class); - /** - * JAXP equivalent of {@link #resolveEntity(String,String)}. - * - * @param href URL of the entitiy - * @param base system id for the entity - * @return JAXP wrapper for the InputSource - * @exception TransformerException - */ - public Source resolve(java.lang.String href, - java.lang.String base) - throws TransformerException { + /** + * JAXP equivalent of {@link #resolveEntity(String,String)}. + * + * @param href URL of the entitiy + * @param base system id for the entity + * @return JAXP wrapper for the InputSource + * @exception TransformerException + */ + public Source resolve(String href, String base) throws TransformerException { - try { - return new SAXSource(resolveEntity(href,base)); - } catch (SAXException e) { - throw new TransformerException(e.toString()); - } + try { + return new SAXSource(resolveEntity(href,base)); + } catch (SAXException e) { + throw new TransformerException(e.toString()); + } - } + } /** * Preprocesses the URIs, resolving any Latka variables -- To unsubscribe, e-mail: For additional commands, e-mail: