Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 37612 invoked by uid 500); 18 Aug 2001 13:43:34 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 37504 invoked from network); 18 Aug 2001 13:43:33 -0000 Date: Sat, 18 Aug 2001 15:41:53 +0200 (CEST) From: giacomo X-X-Sender: To: Subject: Re: AW: [C2] Ambiguous API - AbstractServerPage.modifiedSince(long date) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Tue, 14 Aug 2001, Carsten Ziegeler wrote: > > Stuart Roebuck wrote: > > > > > > I wonder whether it would be worth considering renaming and/or clarifying > > the documentation of the modifiedSince() method defined in the Modifiable > > interface? The uses of this method in Cocoon appear to fit with the > > description of the method as implemented in AbstractServerPage, however > > this definition is probably the exact opposite of what you would expect > > for a method of this name, and I'm not sure that it is in keeping > > with the > > description in Modifiable.java. > > > > I would expect modifiedSince(date) to mean "has this object been modified > > since the given date, if it has return true". > > > > But the implementation is "has this object been modified since the given > > date, if *not* return true". > > > > Unfortunately, I can't think of a better name than: > > needsRefreshingGivenLastAffectingChangeDateOf(Date dateOfLastUpdate) :-) > > > Let me guess, you are a long time OpenStep (Cocoa, WebObjects) user? Right? > If so, welcome. If not, you have managed half the way of learning it. Berin has written Resource Monitoring Components for Excalibur which should be integrated into Cocoon to have solved the problem of reloading modified resources (ie. files). So I would sugest to leave it as is and do the propper rework later on when it is available. Giacomo > > Carsten > > > Stuart. > > > > ------------------------------------------------------------------------- > > Stuart Roebuck stuart.roebuck@adolos.com > > Lead Developer Java, XML, MacOS X, XP, etc. > > ADOLOS > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > > For additional commands, email: cocoon-dev-help@xml.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org