dims        01/04/24 07:26:18

  Modified:    src/org/apache/cocoon/transformation Tag: xml-cocoon2
                        TraxTransformer.java
  Log:
  Sorry, one more check.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.27  +2 -2      
xml-cocoon/src/org/apache/cocoon/transformation/Attic/TraxTransformer.java
  
  Index: TraxTransformer.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon/src/org/apache/cocoon/transformation/Attic/TraxTransformer.java,v
  retrieving revision 1.1.2.26
  retrieving revision 1.1.2.27
  diff -u -r1.1.2.26 -r1.1.2.27
  --- TraxTransformer.java      2001/04/24 14:24:35     1.1.2.26
  +++ TraxTransformer.java      2001/04/24 14:26:16     1.1.2.27
  @@ -68,7 +68,7 @@
    *         (Apache Software Foundation, Exoffice Technologies)
    * @author <a href="mailto:[EMAIL PROTECTED]">Davanum Srinivas</a>
    * @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.1.2.26 $ $Date: 2001/04/24 14:24:35 $
  + * @version CVS $Revision: 1.1.2.27 $ $Date: 2001/04/24 14:26:16 $
    */
   public class TraxTransformer extends ContentHandlerWrapper
   implements Transformer, Composable, Recyclable, Configurable, Cacheable, 
Disposable {
  @@ -140,7 +140,7 @@
               // Stored is an array of the template and the caching time
               if (store.containsKey(xsluri) == true) {
                   Object[] templateAndTime = (Object[])store.get(xsluri);
  -                if(templateAndTime != null) {
  +                if(templateAndTime != null && templateAndTime[1] != null) {
                       File xslFile = new 
File(systemID.substring(FILE.length()));
                       long storedTime = ((Long)templateAndTime[1]).longValue();
                       if (storedTime < xslFile.lastModified()) {
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to