dion        2003/08/20 20:56:45

  Modified:    src/java/org/apache/maven/cli App.java
  Log:
  remove final on parameters
  
  Revision  Changes    Path
  1.36      +12 -12    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.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- App.java  21 Aug 2003 03:51:25 -0000      1.35
  +++ App.java  21 Aug 2003 03:56:45 -0000      1.36
  @@ -231,7 +231,7 @@
        *
        * @param rootContext The mavenSession jelly rootContext.
        */
  -    public void setRootContext( final MavenJellyContext rootContext )
  +    public void setRootContext( MavenJellyContext rootContext )
       {
           this.rootContext = rootContext;
       }
  @@ -251,7 +251,7 @@
        *
        * @param commandLine The command line parser.
        */
  -    protected void setCli( final CommandLine commandLine )
  +    protected void setCli(  CommandLine commandLine )
       {
           this.commandLine = commandLine;
       }
  @@ -282,7 +282,7 @@
        *          the local or remote repositories is malformed.
        * @throws Exception If any other exceptions occur.
        */
  -    public void initialize( final String[] args )
  +    public void initialize(  String[] args )
           throws ParseException, MalformedURLException, IOException, Exception
       {
           setCli( CLIManager.parse( args ) );
  @@ -430,7 +430,7 @@
        *
        *  @param defStr The <code>name=value</code> string.
        */
  -    private void setCliProperty( final String defStr )
  +    private void setCliProperty( String defStr )
       {
           String name = null;
           String value = null;
  @@ -456,7 +456,7 @@
        * @param args Arguments passed in from main().
        * @param fullStart Date the mavenSession process was started.
        */
  -    public void doMain( final String[] args, final Date fullStart )
  +    public void doMain( String[] args, Date fullStart )
       {
           boolean done = false;
           int returnCode = RC_OK;
  @@ -637,7 +637,7 @@
        *
        *  @return The return code.
        */
  -    private int handleUnattainableGoalException( final UnattainableGoalException e )
  +    private int handleUnattainableGoalException( UnattainableGoalException e )
       {
           int returnCode = RC_GOAL_FAILED;
   
  @@ -729,7 +729,7 @@
        * @param filename The filename to find.
        * @return The found file.
        */
  -    private File find( final String filename )
  +    private File find( 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( final File start, final String suffix )
  +    private File find( File start, String suffix )
       {
           if ( start == null )
           {
  @@ -798,7 +798,7 @@
           // sort by name
           Comparator comparator = new Comparator()
           {
  -            public int compare( final Object o1, final Object o2 )
  +            public int compare( Object o1, Object o2 )
               {
                   String g1 = (String) o1;
                   String g2 = (String) o2;
  @@ -1102,7 +1102,7 @@
        *
        * @param args CLI arguments.
        */
  -    public static void main( final String[] args )
  +    public static void main( String[] args )
       {
           Date start = new Date();
           App app = new App();
  @@ -1114,7 +1114,7 @@
        * To allow subclasses stop the app from exiting
        * @param status the value to exit with
        */
  -    protected void exit(final int status)
  +    protected void exit(int status)
       {
           System.exit(status);
       }
  
  
  

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

Reply via email to