commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/xml LatkaVariableEntityResolver.java
Date Sat, 29 Jun 2002 01:52:51 GMT
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:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message