abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: svn commit: r429514 - /incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/cache/CachedResponseBase.java
Date Mon, 07 Aug 2006 23:46:47 GMT
On 8/7/06, rooneg@apache.org <rooneg@apache.org> wrote:

>    public long getCachedTime() {
> -    return getServerDate().getTime();
> +    Date serverDate = getServerDate();
> +    if (serverDate != null)
> +      return serverDate.getTime();
> +    else
> +      return 0;
>    }

James, if you could verify that this is the right thing to do in this
case I'd appreciate it.  I ran across this while trying to rig up a
Jetty based server for the cache tests...

-garrett

Mime
View raw message