cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: svn commit: r514671 - /cocoon/trunk/blocks/cocoon-repository/cocoon-repository-impl/src/test/java/org/apache/cocoon/components/source/impl/CachingSourceTestCase.java
Date Thu, 08 Mar 2007 01:04:39 GMT
cziegeler@apache.org wrote:
> -        assertTrue(meta1 == meta2);
> +        assertTrue(meta1.getMimeType() == meta2.getMimeType());
> +        assertTrue(meta1.getContentLength() == meta2.getContentLength());
> +        assertTrue(meta1.getLastModified() == meta2.getLastModified());

Looks like caching source ain't working correctly anymore. It should be 
returning same (cached) objects.

Vadim

Mime
View raw message