Here's the patch. Odd that the methods were implemented in BaseConfiguration, but not declared in Configuration interface.
Another thing. Regarding XmlConfiguration, I've an initial implementation based on JDom. Should I submit it, or is SAX/DOM preferred for some reason? cvs diff Configuration.java (in directory C:\checkout\jakarta-turbine-stratum\src\java\org\apache\stratum\configuratio n\) Index: Configuration.java =================================================================== RCS file: /home/cvspublic/jakarta-turbine-stratum/src/java/org/apache/stratum/configur ation/Configuration.java,v retrieving revision 1.4 diff -r1.4 Configuration.java 91a92 > byte getByte(String key, byte defaultValue); 92a94 > double getDouble(String key, double defaultValue); 93a96 > float getFloat(String key, float defaultValue); 100a104 > short getShort(String key, short defaultValue); Regards, Kelvin ----- Original Message ----- From: "Kelvin Tan" <[EMAIL PROTECTED]> To: "Turbine Developers List" <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002 10:36 AM Subject: [stratum-configuration] Absence of methods to specify defaults > Hi, > > Is there any particular reason why the methods to specify defaults are > absent for byte, double, float and short? If there aren't, I'll go ahead and > submit a patch for them, as ExtendedProperties supported it and I need them > in my app. > > Regards, > Kelvin Tan > > Relevanz Pte Ltd > http://www.relevanz.com > > 180B Bencoolen St. > The Bencoolen, #04-01 > S(189648) > > Tel: 238 6229 > Fax: 337 4417 > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
