couple of minor fixes

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@349347 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-11-28 02:45:33 +00:00
parent 5ef9888de1
commit 1b54300da4
2 changed files with 1 additions and 3 deletions

View File

@ -16,8 +16,6 @@ package org.apache.maven.model.converter;
* limitations under the License.
*/
import com.sun.corba.se.impl.ior.ObjectAdapterIdArray;
import java.io.Reader;
import java.io.Writer;
import java.util.List;

View File

@ -575,7 +575,7 @@ public class PomV3ToV4Translator
String optional = v3Dep.getProperty( "optional" );
if ( StringUtils.isNotEmpty( optional ) )
{
dep.setOptional( Boolean.parseBoolean( optional ) );
dep.setOptional( Boolean.valueOf( optional ).booleanValue() );
}
deps.add( dep );