peterreilly    2005/01/25 07:47:58

  Modified:    src/main/org/apache/tools/ant/launch Launcher.java
                        Locator.java
  Log:
  checkstyle
  
  Revision  Changes    Path
  1.26      +2 -2      ant/src/main/org/apache/tools/ant/launch/Launcher.java
  
  Index: Launcher.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/launch/Launcher.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- Launcher.java     8 Dec 2004 16:57:10 -0000       1.25
  +++ Launcher.java     25 Jan 2005 15:47:57 -0000      1.26
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2003-2004 The Apache Software Foundation
  + * Copyright  2003-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -150,7 +150,7 @@
                   argList.add(args[i]);
               }
           }
  -        
  +
           //decide whether to copy the existing arg set, or
           //build a new one from the list of all args excluding the special
           //operations that only we handle
  
  
  
  1.15      +2 -1      ant/src/main/org/apache/tools/ant/launch/Locator.java
  
  Index: Locator.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/launch/Locator.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Locator.java      21 Apr 2004 07:18:48 -0000      1.14
  +++ Locator.java      25 Jan 2005 15:47:57 -0000      1.15
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2003-2004 The Apache Software Foundation
  + * Copyright  2003-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -106,6 +106,7 @@
           try {
               url = new URL(uri);
           } catch (MalformedURLException emYouEarlEx) {
  +            // Ignore malformed exception
           }
           if (url == null || !("file".equals(url.getProtocol()))) {
               throw new IllegalArgumentException("Can only handle valid file: 
URIs");
  
  
  

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

Reply via email to