dion        2003/08/20 20:51:25

  Modified:    src/java/org/apache/maven/cli App.java
  Log:
  More checkstyle fluff
  
  Revision  Changes    Path
  1.35      +9 -9      maven/src/java/org/apache/maven/cli/App.java
  
  Index: App.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/cli/App.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- App.java  21 Aug 2003 03:40:03 -0000      1.34
  +++ App.java  21 Aug 2003 03:51:25 -0000      1.35
  @@ -231,7 +231,7 @@
        *
        * @param rootContext The mavenSession jelly rootContext.
        */
  -    public void setRootContext( MavenJellyContext rootContext )
  +    public void setRootContext( final MavenJellyContext rootContext )
       {
           this.rootContext = rootContext;
       }
  @@ -251,7 +251,7 @@
        *
        * @param commandLine The command line parser.
        */
  -    protected void setCli( CommandLine commandLine )
  +    protected void setCli( final CommandLine commandLine )
       {
           this.commandLine = commandLine;
       }
  @@ -283,7 +283,7 @@
        * @throws Exception If any other exceptions occur.
        */
       public void initialize( final String[] args )
  -        throws ParseException, IOException, MalformedURLException, Exception
  +        throws ParseException, MalformedURLException, IOException, Exception
       {
           setCli( CLIManager.parse( args ) );
   
  @@ -430,7 +430,7 @@
        *
        *  @param defStr The <code>name=value</code> string.
        */
  -    private void setCliProperty( String defStr )
  +    private void setCliProperty( final String defStr )
       {
           String name = null;
           String value = null;
  @@ -637,7 +637,7 @@
        *
        *  @return The return code.
        */
  -    private int handleUnattainableGoalException( UnattainableGoalException e )
  +    private int handleUnattainableGoalException( final UnattainableGoalException e )
       {
           int returnCode = RC_GOAL_FAILED;
   
  @@ -729,7 +729,7 @@
        * @param filename The filename to find.
        * @return The found file.
        */
  -    private File find( String filename )
  +    private File find( final String filename )
       {
           // An empty string should resolve to the current directory (user.dir)
           return find( new File( "" ), filename );
  @@ -743,7 +743,7 @@
        * @param suffix The suffix for the file to be searched for.
        * @return The found project.xml file.
        */
  -    private File find( File start, String suffix )
  +    private File find( final File start, final String suffix )
       {
           if ( start == null )
           {
  @@ -798,7 +798,7 @@
           // sort by name
           Comparator comparator = new Comparator()
           {
  -            public int compare( Object o1, Object o2 )
  +            public int compare( final Object o1, final Object o2 )
               {
                   String g1 = (String) o1;
                   String g2 = (String) o2;
  
  
  

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

Reply via email to