ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rapthor <rapt...@lycos.de>
Subject Re: ANT task to process properties-files into static class
Date Tue, 02 Jan 2007 21:41:30 GMT


Scot P. Floess wrote:
> 
> If a property does not exist, why is a null pointer thrown?  I assume 
> you mean java.util.Properties?  If so, that does not raise a null 
> pointer exception.
> 

You are right ... the NullPointerException would be thrown if I relied on a
value read from the Properties instance. (If no matching key was present in
the file.)
-- 
View this message in context: http://www.nabble.com/ANT-task-to-process-properties-files-into-static-class-tf2909466.html#a8131316
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message