History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-24001
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Bas Leijdekkers
Reporter: Bas Leijdekkers
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Mismatched query and update of collection ignores "Properties.loadFromXML()"

Created: 20 Dec 07 09:31   Updated: 20 Dec 07 09:39
Component/s: Code Analysis. Inspection
Fix Version/s: Selena 7.0.3, Diana 8243

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,590
Fixed in build: 8,061
Severity: Medium


 Description  « Hide
Tim Shockley:

Comment: I'm using release 7.02 and I'm getting an inspection warning
regarding "contents of collection are queried but not updated" which is
produced by the following code...

Properties p = new Properties();
p.loadFromXML(new FileInputStream("config/comms.xml"));
agentPort = Integer.parseInt(p.getProperty("snmp.agent.port"));

I saw the bug IDEADEV-2304 from 2005 but it looks like it's reappeared?



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.