dion        02/05/20 18:15:55

  Modified:    src/java/org/apache/maven/j2ee J2EEEntityResolver.java
  Log:
  CheckStyle issues
  
  Revision  Changes    Path
  1.2       +8 -3      
jakarta-turbine-maven/src/java/org/apache/maven/j2ee/J2EEEntityResolver.java
  
  Index: J2EEEntityResolver.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/j2ee/J2EEEntityResolver.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- J2EEEntityResolver.java   17 May 2002 05:35:48 -0000      1.1
  +++ J2EEEntityResolver.java   21 May 2002 01:15:55 -0000      1.2
  @@ -67,7 +67,7 @@
    * A class to resolve external entity definitions for j2ee artifacts.
    *
    * @author  dion
  - * @version $Id: J2EEEntityResolver.java,v 1.1 2002/05/17 05:35:48 dion Exp $
  + * @version $Id: J2EEEntityResolver.java,v 1.2 2002/05/21 01:15:55 dion Exp $
    */
   public class J2EEEntityResolver implements EntityResolver
   {
  @@ -97,14 +97,19 @@
               "/web-jsptaglibrary_1_2.dtd");
       }
       
  -    /**
  +    /** resolve the entity given by the provided Ids
  +     * @param publicId the public id of the entity
  +     * @param systemId the 'system location' (typically a URL) of the entity
  +     * @return an {@link InputSource input source} for retrieval of the entity
  +     * @throws IOException when an I/O error occurs retrieving the entity
  +     * @throws SAXException if there are any problems
        */
       public InputSource resolveEntity(String publicId, String systemId) throws 
           SAXException, IOException
       {
           if (publicId != null)
           {
  -            String resource = (String)idToResource.get(publicId);
  +            String resource = (String) idToResource.get(publicId);
               if (resource != null)
               {
                   InputStream in = getClass().getResourceAsStream(resource);
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to