Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@jakarta.apache.org Received: (qmail 52469 invoked by uid 500); 17 Jul 2001 13:46:07 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Avalon Development" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 52458 invoked from network); 17 Jul 2001 13:46:06 -0000 From: "Leo Sutic" To: "Avalon Development" Subject: RE: [Patch] New Avalon Docs Date: Tue, 17 Jul 2001 15:47:37 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3B543D11.D88F4863@apache.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-OriginalArrivalTime: 17 Jul 2001 13:46:49.0806 (UTC) FILETIME=[EDBE26E0:01C10EC6] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Berin, In implementing.xml, there is a code sample that says: public final void configure(Configuration conf) throws ConfigurationException { if (!initialized || disposed) { throw new IllegalStateException ("Illegal call"); } which is wrong, as the initialized member is set in initialize, which is called after configure. And there is still: public final Document getDocument(Principal requestor, int refId) { if (initialized || disposed) { throw new IllegalStateException("Illegal call"); } // TODO: FILL IN LOGIC } Which should be "if (!initialized || disposed)", as we do not want an exception if the component is initialized and not disposed. > -----Original Message----- > From: Berin Loritsch [mailto:bloritsch@apache.org] > Sent: den 17 juli 2001 15:27 > To: Avalon Development > Subject: Re: [Patch] New Avalon Docs > > > Leo, Please check the info I have in CVS under Implementing. > > I updated it with a few simple changes. If any of my previous > points need to be reflected in the documentation, let me know. --------------------------------------------------------------------- To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: avalon-dev-help@jakarta.apache.org