Details
-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
JBossAS-4.0.4.GA
-
None
Description
playing around with a different format for system properties i have noticed that the "remove(final String name)" function of the SystemProperties service is broken.
It actually doesn't work at all.
The reason is a wrong method call in org.jboss.util.property.Property.
The "remove" method on this call looks like this:
/**
- Remove a property
* - @param name Property name
- @return Removed property value or null
*/
public static String remove(String name) { return PropertyManager.getProperty(name); }
As you can see it is calling the getProperty method on the PropertyManager instead of calling "removeProperty".
cheers
Eike