Tiny fix for small bug noticed by David Esposito <esposito@newnetco.com>
Tiny fix for small bug noticed by David Esposito <esposito@newnetco.com>

Simply protects the other Runtime.init() methods to prevent the properties
from being set twice - the Configuration class converts scalar values
to vector values if the same property is set twice.

This can happen if you call init( filename ) or init( Properties ) more
than once - ex, a mult-servlet webapp when the servlet is based on
the VelocityServlet base class.

It's also good to protect ourselves this way from any application type.

This will fix it for any servlet user until Jason gets the Configuration
fixed (he knows about it...)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: 7267684f36935cb3df12efc1f4c0216d758271d4@74401 13f79535-47bb-0310-9956-ffa450edef68

apache/velocity-engine,apache/velocity-engine