ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Definer.java
Date Sun, 26 May 2002 07:16:11 GMT
costin      02/05/26 00:16:11

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_15_BRANCH
                        Definer.java
  Log:
  Made some cosmetic changes before commit, fix that.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.15.2.2  +8 -9      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Definer.java
  
  Index: Definer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Definer.java,v
  retrieving revision 1.15.2.1
  retrieving revision 1.15.2.2
  diff -u -r1.15.2.1 -r1.15.2.2
  --- Definer.java	26 May 2002 07:03:24 -0000	1.15.2.1
  +++ Definer.java	26 May 2002 07:16:11 -0000	1.15.2.2
  @@ -234,19 +234,18 @@
                   loaderId="ant.loader." + classpathId;
               }
           }
  -
  +        
           // If a loader has been set ( either by loaderRef or magic property )
           if( loaderId != null ) {
               Object reusedLoader=project.getReference( loaderId );
  -                if( reusedLoader != null ) {
  -                    if( reusedLoader instanceof AntClassLoader ) {
  -                        return (AntClassLoader)reusedLoader;
  -                    }
  -                    // In future the reference object may be the <loader> type
  -                    // if( reusedLoader instanceof Loader ) {
  -                    //      return ((Loader)reusedLoader).getLoader(project);
  -                    // }
  +            if( reusedLoader != null ) {
  +                if( reusedLoader instanceof AntClassLoader ) {
  +                    return (AntClassLoader)reusedLoader;
                   }
  +                // In future the reference object may be the <loader> type
  +                // if( reusedLoader instanceof Loader ) {
  +                //      return ((Loader)reusedLoader).getLoader(project);
  +                // }
               }
           }
          
  
  
  

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


Mime
View raw message