PR: MPXDOC-107
Submitted By: Jerome Lacoste cleanup git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115431 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -23,7 +23,7 @@ import org.apache.maven.project.Dependency;
|
||||
* Dependency wrapper. Adds an url to download and a description.
|
||||
*
|
||||
* @author <a href="mailto:michal.maczka@dimatics.com">Michal Maczka</a>
|
||||
* @version $Id: DescribedDependency.java,v 1.3 2004/05/09 20:58:49 aheritier Exp $
|
||||
* @version $Id: DescribedDependency.java,v 1.4 2004/06/06 02:57:26 brett Exp $
|
||||
*/
|
||||
public class DescribedDependency implements Comparable
|
||||
{
|
||||
@@ -199,7 +199,7 @@ public class DescribedDependency implements Comparable
|
||||
*/
|
||||
public String getUrl()
|
||||
{
|
||||
String retValue = null;
|
||||
String retValue;
|
||||
|
||||
if ((dependency.getUrl() != null) && (dependency.getUrl().length() > 0))
|
||||
{
|
||||
@@ -207,7 +207,7 @@ public class DescribedDependency implements Comparable
|
||||
}
|
||||
else
|
||||
{
|
||||
return retValue = url;
|
||||
retValue = url;
|
||||
}
|
||||
|
||||
return retValue;
|
||||
|
||||
Reference in New Issue
Block a user