You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/10/14 17:10:08 UTC

cvs commit: maven/src/java/org/apache/maven/jelly/tags/maven ParamCheck.java

dion        2003/10/14 08:10:08

  Modified:    src/java/org/apache/maven/jelly/tags/maven ParamCheck.java
  Log:
  style
  
  Revision  Changes    Path
  1.2       +6 -5      maven/src/java/org/apache/maven/jelly/tags/maven/ParamCheck.java
  
  Index: ParamCheck.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/jelly/tags/maven/ParamCheck.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ParamCheck.java	31 Jul 2003 05:14:21 -0000	1.1
  +++ ParamCheck.java	14 Oct 2003 15:10:08 -0000	1.2
  @@ -67,10 +67,10 @@
   {
       /** the value to check */
       private String value;
  -        
  +
       /** the message to display when value is empty */
       private String message;
  -    
  +
       /** whether to fail or not */
       private boolean fail;
   
  @@ -105,16 +105,17 @@
        */
       public String getMessage() throws JellyTagException
       {
  -        if (message == null) {
  +        if (message == null)
  +        {
               return getBodyText();
           }
           else
  -        { 
  +        {
               return message;
           }
   
       }
  -    
  +
       /**
        * @param string the message to display when the value is empty
        */
  
  
  

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