poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46768] CustomProperties.containsKey(key)
Date Thu, 26 Feb 2009 07:47:52 GMT

Rainer Klute <klute@apache.org> changed:

           What    |Removed                     |Added
          Component|POIFS                       |HPFS

--- Comment #4 from Rainer Klute <klute@apache.org>  2009-02-25 23:47:50 PST ---
Could you please try an unconditional 

Object value = customProperties.get("key");

and after doing the get() check whether the result is null (value not in
properties) or not null (you retrieved the value successfully)?

If the custom properties indeed do not contain your value the question is
whether your key/value pair
a) entered the custom properties successfully
b) had been deleted by your application or
c) had been deleted by a HPSF failure.

In case c) we'd need a sample program demonstrating the error. Ideally it would
be in the form of a JUnit test case, but this is not required.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message