mirror of https://github.com/apache/maven.git
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:
parent
5ef9888de1
commit
1b54300da4
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue