o the required field was not being written out correctly. now it is and an exception is thrown when a required parameter is null.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163174 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-09-30 16:10:30 +00:00
parent 9f4113bb5b
commit 4072630050
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ public abstract class AbstractGenerator
pd.setType( parameter.getNamedParameter( "type" ) );
pd.setRequired( Boolean.getBoolean( parameter.getNamedParameter( "required" ) ) );
pd.setRequired( parameter.getNamedParameter( "required" ).equals( "true" ) ? true : false );
pd.setValidator( parameter.getNamedParameter( "validator" ) );