Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 99995 invoked from network); 7 Aug 2006 17:42:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Aug 2006 17:42:20 -0000 Received: (qmail 55974 invoked by uid 500); 7 Aug 2006 17:42:20 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 55964 invoked by uid 500); 7 Aug 2006 17:42:20 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 55955 invoked by uid 99); 7 Aug 2006 17:42:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 10:42:20 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rooneg@gmail.com designates 66.249.82.235 as permitted sender) Received: from [66.249.82.235] (HELO wx-out-0506.google.com) (66.249.82.235) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 10:42:19 -0700 Received: by wx-out-0506.google.com with SMTP id s13so270421wxc for ; Mon, 07 Aug 2006 10:41:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Cqc2lr8nXySi0x2y1wDB536xpjmJeDppjhbEs774XslJkiy+rreoh6nOa9cnW9F7+T6nM5LHtywWiR9OWjLKQ9xP/sdJYIsdbcMJ8JJmQ+oCkNIUaDNirIEV04jHHF2t5gMxwpfhbjMIMJIBWaYBRb+yqr049qYxUMOiwd4t2ZE= Received: by 10.78.116.19 with SMTP id o19mr858806huc; Mon, 07 Aug 2006 10:41:58 -0700 (PDT) Received: by 10.78.37.20 with HTTP; Mon, 7 Aug 2006 10:41:58 -0700 (PDT) Message-ID: <7edfeeef0608071041geda5699s3869b06171c94f4f@mail.gmail.com> Date: Mon, 7 Aug 2006 13:41:58 -0400 From: "Garrett Rooney" Sender: rooneg@gmail.com To: abdera-dev@incubator.apache.org Subject: Re: svn commit: r429409 - in /incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol: cache/CacheBase.java cache/InMemoryCache.java client/RequestOptions.java client/ResponseBase.java In-Reply-To: <20060807173603.6E1ED1A981A@eris.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060807173603.6E1ED1A981A@eris.apache.org> X-Google-Sender-Auth: ba60d9120aadce2d X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/7/06, jmsnell@apache.org wrote: > Author: jmsnell > Date: Mon Aug 7 10:36:02 2006 > New Revision: 429409 > > URL: http://svn.apache.org/viewvc?rev=429409&view=rev > Log: > Had a bit of a brain fart on the bitwise operators > > Modified: > incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/CacheBase.java > incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCache.java > incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/RequestOptions.java > incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/ResponseBase.java > > Modified: incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/CacheBase.java > URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/CacheBase.java?rev=429409&r1=429408&r2=429409&view=diff > ============================================================================== > --- incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/CacheBase.java (original) > +++ incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/CacheBase.java Mon Aug 7 10:36:02 2006 > @@ -122,6 +122,10 @@ > RequestOptions options, > Response response) { > CacheKey key = getCacheKey(uri, options,response); > +System.out.println(response); > +System.out.println(response.isNoStore()); > +System.out.println(options); > +System.out.println(options.getNoStore()); > if ((response != null && response.isNoStore()) || > options != null && options.getNoStore()) { > remove(key); That probably wasn't intended... > Modified: incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCache.java > URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCache.java?rev=429409&r1=429408&r2=429409&view=diff > ============================================================================== > --- incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCache.java (original) > +++ incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/InMemoryCache.java Mon Aug 7 10:36:02 2006 > @@ -46,7 +46,7 @@ > } > > public CachedResponse get( > - CacheKey key) { > + CacheKey key) { > return cache.get(key); > } Is this just a whitespace change? No objection to those, but they should be committed separately. -garrett