Return-Path: Delivered-To: apmail-tiles-dev-archive@locus.apache.org Received: (qmail 49796 invoked from network); 11 May 2007 08:03:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 May 2007 08:03:49 -0000 Received: (qmail 42930 invoked by uid 500); 11 May 2007 08:03:56 -0000 Delivered-To: apmail-tiles-dev-archive@tiles.apache.org Received: (qmail 42909 invoked by uid 500); 11 May 2007 08:03:55 -0000 Mailing-List: contact dev-help@tiles.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tiles.apache.org Delivered-To: mailing list dev@tiles.apache.org Received: (qmail 42900 invoked by uid 99); 11 May 2007 08:03:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2007 01:03:55 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of antonio.petrelli@gmail.com designates 64.233.166.176 as permitted sender) Received: from [64.233.166.176] (HELO py-out-1112.google.com) (64.233.166.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 May 2007 01:03:48 -0700 Received: by py-out-1112.google.com with SMTP id u52so726960pyb for ; Fri, 11 May 2007 01:03:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=dm5EK9y9JNFI2cgGzpTaBsMGnmKiR0lc/DHCSqo+r+MDP+BmZT6p/KVmokfDyN3g9fdssfS3U8GOEUYgEhdCOuq0Zq8Q49fBycwByXmSX6HI/Hm65WxewdkVJUxjQp10xiPKUpy8qmYZ6fMmIqXcgLbqdZPeinoWRDekvCIr5sE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=tNjdd2JmxutqqctffcwpAt2jg8tuCEo/L08MISbgOi88KAV93Ce2T8WyFzVbhWs7B7R1x1aq3Dg8V+QJmD3Ap9G9JsB+K+TJocf00TJ8FO2sovHoGwQ++zZT/IJBBFRKAgnUeuoYJVONCiox9ONCiVjrW4leDBXaihzO7pYyNWs= Received: by 10.35.127.7 with SMTP id e7mr4611812pyn.1178870607916; Fri, 11 May 2007 01:03:27 -0700 (PDT) Received: by 10.35.35.7 with HTTP; Fri, 11 May 2007 01:03:27 -0700 (PDT) Message-ID: Date: Fri, 11 May 2007 10:03:27 +0200 From: "Antonio Petrelli" To: dev@tiles.apache.org Subject: Re: TileDefinition and Definition classes refactoring In-Reply-To: <91478db0705101221y15db42b0q313f6461f8e65742@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_78699_11537443.1178870607831" References: <91478db0705101221y15db42b0q313f6461f8e65742@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_78699_11537443.1178870607831 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 2007/5/10, Greg Reddin : > > In fact the Definition is needed to resolve inheritances, and the > > "isVisited" flag is necessary for this purpose, but the rest seems to > > belong to TileDefinition. > > > I like the idea of consolidating these two classes. I think I have a better idea: moving the "visited" flag outside. Well, not exactly, I have in mind to create a list of definitions to be resolved (in DefinitionsImpl), and removing them from the list when they have been resolved. This way we need only one class, I suppose, because there will be no more differences between them. Antonio ------=_Part_78699_11537443.1178870607831--