Actually, scratch that, if the Date response header is null,
getServerDate will be null, which means we'll have a NPE. We'll need to
fix that.
- James
Garrett Rooney wrote:
> On 8/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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
>