Hi,

You are right!
It looks like a bug.
Please file a ticket about it.

On Wed, Mar 28, 2012 at 3:22 AM, terasaka.k <terasak...@gmail.com> wrote:
> How does the conditional statement 'if
> (resourceResponse.dataNeedsToBeWritten(attributes))' in
> PackageResource$newResourceResponse turn false?
>
> dataNeedsToBeWritten() method internally uses its own lastModified field,
> which is null (by default) and always returns true at that point.
>
> Any useful purpose for that conditional?
>
> Also the API document of dataNeedsToBeWritten() exclaims setLastModified be
> called first.
>
> Thank you
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/How-dataNeedsToBeWritten-be-false-in-newReosurceResponse-tp4510762p4510762.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to