ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool ConstantPool.java
Date Fri, 28 Jan 2005 11:33:39 GMT
peterreilly    2005/01/28 03:33:39

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/depend
                        ClassFile.java Depend.java
               src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool
                        ConstantPool.java
  Log:
  checkstyle
  
  Revision  Changes    Path
  1.18      +3 -2      ant/src/main/org/apache/tools/ant/taskdefs/optional/depend/ClassFile.java
  
  Index: ClassFile.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/depend/ClassFile.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ClassFile.java	9 Mar 2004 16:48:16 -0000	1.17
  +++ ClassFile.java	28 Jan 2005 11:33:38 -0000	1.18
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2000-2002,2004 The Apache Software Foundation
  + * Copyright  2000-2002,2004-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.
  @@ -97,7 +97,8 @@
                   ClassCPInfo classEntry = (ClassCPInfo) entry;
   
                   if (!classEntry.getClassName().equals(className)) {
  -                    classRefs.addElement(ClassFileUtils.convertSlashName(classEntry.getClassName()));
  +                    classRefs.addElement(
  +                        ClassFileUtils.convertSlashName(classEntry.getClassName()));
                   }
               }
           }
  
  
  
  1.46      +4 -4      ant/src/main/org/apache/tools/ant/taskdefs/optional/depend/Depend.java
  
  Index: Depend.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/depend/Depend.java,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- Depend.java	22 Nov 2004 09:23:33 -0000	1.45
  +++ Depend.java	28 Jan 2005 11:33:38 -0000	1.46
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2000-2004 The Apache Software Foundation
  + * Copyright  2000-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.
  @@ -162,9 +162,9 @@
       }
   
       /**
  -     * flag to set to true if you want dependency issues with RMI
  +     * Flag to set to true if you want dependency issues with RMI
        * stubs to appear at warning level.
  -     * @param warnOnRmiStubs
  +     * @param warnOnRmiStubs if true set dependency issues to appear at warning level.
        * @since Ant1.7
        */
       public void setWarnOnRmiStubs(boolean warnOnRmiStubs) {
  @@ -710,7 +710,7 @@
        * @param files the names of the files in the source dir which are to be
        *      checked.
        */
  -    protected void scanDir(File srcDir, String files[]) {
  +    protected void scanDir(File srcDir, String[] files) {
   
           for (int i = 0; i < files.length; i++) {
               File srcFile = new File(srcDir, files[i]);
  
  
  
  1.15      +7 -4      ant/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPool.java
  
  Index: ConstantPool.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/depend/constantpool/ConstantPool.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ConstantPool.java	9 Mar 2004 16:48:17 -0000	1.14
  +++ ConstantPool.java	28 Jan 2005 11:33:39 -0000	1.15
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2000-2004 The Apache Software Foundation
  + * Copyright  2000-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.
  @@ -261,9 +261,12 @@
                   InterfaceMethodRefCPInfo interfaceMethodRefEntry
                        = (InterfaceMethodRefCPInfo) element;
   
  -                if (interfaceMethodRefEntry.getInterfaceMethodClassName().equals(interfaceMethodClassName)
  -                     && interfaceMethodRefEntry.getInterfaceMethodName().equals(interfaceMethodName)
  -                     && interfaceMethodRefEntry.getInterfaceMethodType().equals(interfaceMethodType))
{
  +                if (interfaceMethodRefEntry.getInterfaceMethodClassName().equals(
  +                        interfaceMethodClassName)
  +                     && interfaceMethodRefEntry.getInterfaceMethodName().equals(
  +                         interfaceMethodName)
  +                     && interfaceMethodRefEntry.getInterfaceMethodType().equals(
  +                         interfaceMethodType)) {
                       index = i;
                   }
               }
  
  
  

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


Mime
View raw message