You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@locus.apache.org on 2000/08/21 19:38:58 UTC

cvs commit: xml-cocoon/src/org/apache/cocoon/components/language/markup AbstractMarkupLanguage.java

stefano     00/08/21 10:38:58

  Modified:    src/org/apache/cocoon/components/language/markup Tag:
                        xml-cocoon2 AbstractMarkupLanguage.java
  Log:
  removed printstacktrace
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.6   +4 -5      xml-cocoon/src/org/apache/cocoon/components/language/markup/Attic/AbstractMarkupLanguage.java
  
  Index: AbstractMarkupLanguage.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/components/language/markup/Attic/AbstractMarkupLanguage.java,v
  retrieving revision 1.1.2.5
  retrieving revision 1.1.2.6
  diff -u -r1.1.2.5 -r1.1.2.6
  --- AbstractMarkupLanguage.java	2000/08/04 21:11:12	1.1.2.5
  +++ AbstractMarkupLanguage.java	2000/08/21 17:38:56	1.1.2.6
  @@ -49,7 +49,7 @@
    * (as opposed to Cocoon2's standard SAX events)
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
  - * @version CVS $Revision: 1.1.2.5 $ $Date: 2000/08/04 21:11:12 $
  + * @version CVS $Revision: 1.1.2.6 $ $Date: 2000/08/21 17:38:56 $
    */
   public abstract class AbstractMarkupLanguage
     extends AbstractNamedComponent
  @@ -128,9 +128,9 @@
           LanguageDescriptor language = new LanguageDescriptor();
           language.setName(lc.getAttribute("name"));
   
  -	Parameters lcp = Parameters.fromConfiguration(lc);
  +	      Parameters lcp = Parameters.fromConfiguration(lc);
           String logicsheetLocation =
  -	  getRequiredParameter(lcp, "core-logicsheet");
  +	        getRequiredParameter(lcp, "core-logicsheet");
   
           URL logicsheetURL = IOUtils.getURL(logicsheetLocation);
           String logicsheetName = logicsheetURL.toExternalForm();
  @@ -143,7 +143,7 @@
           Enumeration n = lc.getConfigurations("builtin-logicsheet");
           while (n.hasMoreElements()) {
             Configuration nc = (Configuration) n.nextElement();
  -	  Parameters ncp = Parameters.fromConfiguration(nc);
  +	        Parameters ncp = Parameters.fromConfiguration(nc);
   
             String namedLogicsheetPrefix = getRequiredParameter(ncp, "prefix");
             String namedLogicsheetUri = getRequiredParameter(ncp, "uri");
  @@ -169,7 +169,6 @@
           this.languages.put(language.getName(), language);
         }
       } catch (Exception e) {
  -e.printStackTrace();
         throw new ConfigurationException(e.getMessage(), conf);
       }
     }