avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/tasks Sar.java
Date Mon, 20 May 2002 11:39:52 GMT
donaldp     02/05/20 04:39:52

  Modified:    src/java/org/apache/avalon/phoenix/tools/tasks Sar.java
  Log:
  Fix checkstyle violations
  
  Revision  Changes    Path
  1.13      +6 -2      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/tasks/Sar.java
  
  Index: Sar.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/tools/tasks/Sar.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Sar.java	16 Mar 2002 00:11:56 -0000	1.12
  +++ Sar.java	20 May 2002 11:39:52 -0000	1.13
  @@ -78,12 +78,16 @@
   
           if( !m_environment.exists() )
           {
  -            throw new BuildException( "Environment descriptor: " + m_environment + " does
not exist." );
  +            final String message = "Environment descriptor: " +
  +                m_environment + " does not exist.";
  +            throw new BuildException( message );
           }
   
           if( !m_environment.isFile() )
           {
  -            throw new BuildException( "Environment descriptor: " + m_environment + " is
not a file." );
  +            final String message = "Environment descriptor: " +
  +                m_environment + " is not a file.";
  +            throw new BuildException( message );
           }
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message