From: <[EMAIL PROTECTED]>

>   +        // Load the property files specified by -propertyfile
>   +        for (int propertyFileIndex=0;
>   +             propertyFileIndex < propertyFiles.size();
>   +             propertyFileIndex++) {
>   +            String filename = (String)
propertyFiles.elementAt(propertyFileIndex);
>   +            Properties props = new Properties();
>   +            try {
>   +                FileInputStream fis = new FileInputStream(filename);
>   +                props.load(fis);
>   +            }
>   +            catch (IOException e) {
>   +                System.out.println("Could not load property file "
>   +                   + filename + ": " + e.getMessage());
>   +            }
>   +

Erik,
I notice that the FileInputStreams that are created are
not being closed...


Cheers,
Magesh




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to