velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Xiaoli-a17351 <a17...@motorola.com>
Subject RE: the return of org.apache.velocity.app.Velocity.init(java.lang .StringpropsFilename)
Date Mon, 02 Jul 2001 02:32:07 GMT
Hi geir

Thanks for your reply. Do you mean the return should be void?

Charley

-----Original Message-----
From: Geir Magnusson Jr. [mailto:geirm@optonline.net]
Sent: 2001年7月2日 10:29
To: velocity-user@jakarta.apache.org
Subject: Re: the return of org.apache.velocity.app.Velocity.init(java.lang.StringpropsFilename)


Li Xiaoli-a17351 wrote:
> 
> Hi
> 
> In java docs, I find clase org.apache.velocity.app.Velocity, the method init()
> public static void init(java.lang.String propsFilename)
>                  throws java.lang.Exception
> 
> can return true if successful, false otherwise.
> 
> But in it's definition, the return type is void, why?
> 

The docs are wrong.  Thanks for the catch!

geir

-- 
Geir Magnusson Jr.                           geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
You have a genius for suggesting things I've come a cropper with!

Mime
View raw message