Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Bas Leijdekkers 
Subsystem
Code Analysis. Inspection 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7590
Fixed in build
8061
Severity
0
  • Submitted by   Bas Leijdekkers
    2 years ago (20 Dec 2007 09:31)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:56)
  • Jira: IDEA-42331
    (history, comments)

IDEA-42331

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

0
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 IDEA-29870 from 2005 but it looks like it's reappeared?

Issue was resolved
Comments (0)
 
History (1)
 
Links
 
Issue has no comments