You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/06/02 19:23:37 UTC

cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/publication PageEnvelope.java

andreas     2003/06/02 10:23:37

  Modified:    src/java/org/apache/lenya/cms/publication PageEnvelope.java
  Log:
  added some assertions
  
  Revision  Changes    Path
  1.18      +3 -0      cocoon-lenya/src/java/org/apache/lenya/cms/publication/PageEnvelope.java
  
  Index: PageEnvelope.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/publication/PageEnvelope.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- PageEnvelope.java	30 May 2003 20:57:59 -0000	1.17
  +++ PageEnvelope.java	2 Jun 2003 17:23:37 -0000	1.18
  @@ -59,6 +59,9 @@
        */
       public PageEnvelope(Publication publication, Request request)
           throws PageEnvelopeException, ProcessingException, SAXException, IOException {
  +            
  +        assert publication != null;
  +        assert request != null;
   
           // compute area
           String requestURI = request.getRequestURI();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org