On Oct 23, 2006, at 10:00 AM, Jacek Laskowski wrote:

On 10/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Author: dblevins
Date: Sat Oct 21 21:17:31 2006
New Revision: 466624

URL: http://svn.apache.org/viewvc?view=rev&rev=466624
Log:
Removing System.getProperties() replacing with SystemInstance.get ().getProperties()

Hi,

That's funny. I've been doing the same lately while figuring out how
OpenEJB 3 works and documenting it here and there ;-) I've not been so
sure to remove all occurences of System.getProperties(), but having
seen your change helped me a lot.

Thanks Dave!


No problem. I left it in a few places that specifically are wanting to update the system properties, usually to temporarily swap the user.dir. But what can be switched is switched. Still need to do the System.getProperty() and System.setProperty style, but there are proving to be a lot of cases where it doesn't make sense to use SystemInstance.get().get/setProperty(). Been thinking about it.

-David


Jacek

--
Jacek Laskowski
http://www.jaceklaskowski.pl


Reply via email to