jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim <maxi...@anahoret.com>
Subject TCK question: boolean property
Date Thu, 21 Apr 2005 15:07:57 GMT
Hello jackrabbit-dev.

In the file:
/jackrabbit/src/test/org/apache/jackrabbit/test/api/BooleanPropertyTest.java

from line 115 it says:
-----------------------------------
    public void testGetStream() throws RepositoryException, IOException {
        Value val = PropertyUtil.getValue(prop);
        BufferedInputStream in = new BufferedInputStream(val.getStream());
        Value otherVal = prop.getValue();
-----------------------------------

While val value is calculated in "multivalue-safe" manner,
the otherVal is not (and this is indeed the same value).

Shouldn't the last line say:
-----------------------------------
        Value otherVal = PropertyUtil.getValue(prop);
-----------------------------------

Thank you.

-- 
Best regards, Maxim.
Anahoret Team.


Mime
View raw message