Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 54944 invoked from network); 21 Feb 2001 15:44:12 -0000 Received: from sundn.pb.teuto.net (HELO viruswall.ynes.de) (212.8.194.130) by h31.sny.collab.net with SMTP; 21 Feb 2001 15:44:12 -0000 Received: from 10.10.1.10 by viruswall.ynes.de (InterScan E-Mail VirusWall NT); Wed, 21 Feb 2001 16:43:46 +0100 (Westeuropaeische Normalzeit) Received: from notes.sundn.de (fw-dmz.ynes.de [10.10.1.1]) by mail.ynes.de (8.9.3/8.9.3/NoSpam) with ESMTP id QAA07955 for ; Wed, 21 Feb 2001 16:43:46 +0100 Received: from hw0230 ([10.10.2.211]) by notes.sundn.de (Lotus Domino Release 5.0.5) with SMTP id 2001022116434609:1897 ; Wed, 21 Feb 2001 16:43:46 +0100 From: "Carsten Ziegeler" To: Subject: RE: cvs commit: xml-cocoon/src/org/apache/cocoon/servlet CocoonServlet.java Date: Wed, 21 Feb 2001 16:43:46 +0100 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20010221151629.22591.qmail@apache.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.5 |September 22, 2000) at 21.02.2001 16:43:46, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.5 |September 22, 2000) at 21.02.2001 16:43:46, Serialize complete at 21.02.2001 16:43:46 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > Berin Loritsch wrote: > > Index: CocoonServlet.java > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: > /home/cvs/xml-cocoon/src/org/apache/cocoon/servlet/Attic/CocoonSer > vlet.java,v >=20 > retrieving revision 1.1.4.61 > retrieving revision 1.1.4.62 > diff -u -r1.1.4.61 -r1.1.4.62 > --- CocoonServlet.java 2001/02/21 07:36:19 1.1.4.61 > +++ CocoonServlet.java 2001/02/21 15:16:27 1.1.4.62 > @@ -71,8 +71,8 @@ > static final long minute =3D 60 * second; > static final long hour =3D 60 * minute; >=20 > - protected long creationTime =3D 0; > - protected Cocoon cocoon; > + private long creationTime =3D 0; > + private Cocoon cocoon; > protected Exception exception; > protected DefaultContext appContext =3D new DefaultContext(); >=20 > @@ -383,7 +393,7 @@ > /** > * Create the environment for the request > */ > - protected Environment getEnvironment(String uri, > + private Environment getEnvironment(String uri, > HttpServletRequest req, > HttpServletResponse res) > throws Exception { >=20 >=20 Earlier today I changed the CocoonServlet to make subclasses possible. The changes made some methods and instance variables protected, so that subclasses can override and use them. Why did you change some of them back to private? Carsten