Return-Path: Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: (qmail 16237 invoked from network); 15 Mar 2011 19:03:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Mar 2011 19:03:59 -0000 Received: (qmail 57204 invoked by uid 500); 15 Mar 2011 19:03:59 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 57163 invoked by uid 500); 15 Mar 2011 19:03:59 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 57155 invoked by uid 99); 15 Mar 2011 19:03:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2011 19:03:59 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.214.47] (HELO mail-bw0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Mar 2011 19:03:50 +0000 Received: by bwz10 with SMTP id 10so825018bwz.6 for ; Tue, 15 Mar 2011 12:03:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.46.84 with SMTP id i20mr3417186bkf.62.1300215810404; Tue, 15 Mar 2011 12:03:30 -0700 (PDT) Sender: reto@trialox.org Received: by 10.204.58.17 with HTTP; Tue, 15 Mar 2011 12:03:30 -0700 (PDT) X-Originating-IP: [217.71.247.242] Date: Tue, 15 Mar 2011 20:03:30 +0100 X-Google-Sender-Auth: IXT74CA0iVxpqXMDM22P-ymf6NI Message-ID: Subject: Your commit and RichGraphNode From: Reto Bachmann-Gmuer To: Story Henry , clerezza-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e6d7ee7282b20a049e8a1537 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d7ee7282b20a049e8a1537 Content-Type: text/plain; charset=UTF-8 Hi Henry Could you please fix yesterday's commit? There are still experiments and discussion in it. One discussion (taken from rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/RichGraphNode.scala): /* because it is tedious to wrap nodes as happens in a lot of code. That's why there are dynamic conversions, the Preamble Object converts any GraphNode to RichGraphNode, instances of the preamble class also convert Resources (such as UriRefs) to RichGraphNodes. * * todo: does one really need to create the graph node? Is there a reason this is passed ike that, What do you suggest, RichGraphNode not to be a subclass of GraphNode? Why? * todo: or was that just a quick hack? If it is because we don't want to use any of the superclass implementations Not sure what you're refreing too, RichGraphNode doesn't reimplement any of the superclass methods * todo: then it would be worth creating an interface above GraphNode and implementing the interface instead... I see no need for this. Cheers, reto --0016e6d7ee7282b20a049e8a1537--