dlr         2002/10/11 15:46:25

  Modified:    src/java/org/apache/maven/app MavenJellyContext.java
  Log:
  Imrpoved documentation of getVariable(String).
  
  CreateDependencyClasspath's handling of the maven.jar.override
  property in its execute() method was broken because its calling
  semantics expected getVariable() to return a String object.  Back away
  from the goat.
  
  Revision  Changes    Path
  1.22      +5 -2      
jakarta-turbine-maven/src/java/org/apache/maven/app/MavenJellyContext.java
  
  Index: MavenJellyContext.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/app/MavenJellyContext.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -u -r1.21 -r1.22
  --- MavenJellyContext.java    11 Oct 2002 22:33:09 -0000      1.21
  +++ MavenJellyContext.java    11 Oct 2002 22:46:25 -0000      1.22
  @@ -202,7 +202,10 @@
        *  @param name The name of the variable.
        *
        *  @return The value of the variable, if set, otherwise
  -     *          <code>null</code>.
  +     *  <code>null</code>.  If the variable has a value which
  +     *  corresponds to a boolean value (like "on"/"off",
  +     *  "true"/"false", or "1"/"0"), it will be returned as a
  +     *  <code>java.lang.Boolean</code>.
        */
       public Object getVariable(String name)
       {
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to