You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2004/06/06 04:57:26 UTC

cvs commit: maven-plugins/xdoc/src/main/org/apache/maven DescribedDependency.java

brett       2004/06/05 19:57:26

  Modified:    xdoc/src/main/org/apache/maven DescribedDependency.java
  Log:
  PR: MPXDOC-107
  Submitted By:	Jerome Lacoste
  cleanup
  
  Revision  Changes    Path
  1.4       +3 -3      maven-plugins/xdoc/src/main/org/apache/maven/DescribedDependency.java
  
  Index: DescribedDependency.java
  ===================================================================
  RCS file: /home/cvs/maven-plugins/xdoc/src/main/org/apache/maven/DescribedDependency.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DescribedDependency.java	9 May 2004 20:58:49 -0000	1.3
  +++ DescribedDependency.java	6 Jun 2004 02:57:26 -0000	1.4
  @@ -199,7 +199,7 @@
      */
     public String getUrl()
     {
  -    String retValue = null;
  +    String retValue;
   
       if ((dependency.getUrl() != null) && (dependency.getUrl().length() > 0))
       {
  @@ -207,7 +207,7 @@
       }
       else
       {
  -      return retValue = url;
  +      retValue = url;
       }
   
       return retValue;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org