maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r349347 - in /maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter: ArtifactPomRewriter.java PomV3ToV4Translator.java
Date Mon, 28 Nov 2005 02:56:01 GMT
Author: brett
Date: Sun Nov 27 18:45:33 2005
New Revision: 349347

URL: http://svn.apache.org/viewcvs?rev=349347&view=rev
Log:
couple of minor fixes

Modified:
    maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter/ArtifactPomRewriter.java
    maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter/PomV3ToV4Translator.java

Modified: maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter/ArtifactPomRewriter.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter/ArtifactPomRewriter.java?rev=349347&r1=349346&r2=349347&view=diff
==============================================================================
--- maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter/ArtifactPomRewriter.java
(original)
+++ maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter/ArtifactPomRewriter.java
Sun Nov 27 18:45:33 2005
@@ -16,8 +16,6 @@
  * limitations under the License.
  */
 
-import com.sun.corba.se.impl.ior.ObjectAdapterIdArray;
-
 import java.io.Reader;
 import java.io.Writer;
 import java.util.List;

Modified: maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter/PomV3ToV4Translator.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter/PomV3ToV4Translator.java?rev=349347&r1=349346&r2=349347&view=diff
==============================================================================
--- maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter/PomV3ToV4Translator.java
(original)
+++ maven/components/trunk/maven-model-converter/src/main/java/org/apache/maven/model/converter/PomV3ToV4Translator.java
Sun Nov 27 18:45:33 2005
@@ -575,7 +575,7 @@
                     String optional = v3Dep.getProperty( "optional" );
                     if ( StringUtils.isNotEmpty( optional ) )
                     {
-                        dep.setOptional( Boolean.parseBoolean( optional ) );
+                        dep.setOptional( Boolean.valueOf( optional ).booleanValue() );
                     }
 
                     deps.add( dep );



Mime
View raw message