commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/beanutils/src/java/org/apache/commons/beanutils MappedPropertyDescriptor.java
Date Sun, 24 Mar 2002 09:47:05 GMT
dion        02/03/24 01:47:05

  Modified:    beanutils/src/java/org/apache/commons/beanutils
                        MappedPropertyDescriptor.java
  Log:
  Remove blank lines
  
  Revision  Changes    Path
  1.9       +4 -33     jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java
  
  Index: MappedPropertyDescriptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- MappedPropertyDescriptor.java	24 Mar 2002 09:16:11 -0000	1.8
  +++ MappedPropertyDescriptor.java	24 Mar 2002 09:47:05 -0000	1.9
  @@ -1,10 +1,10 @@
   /*
   
  - * $Header: /home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java,v
1.8 2002/03/24 09:16:11 dion Exp $
  + * $Header: /home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java,v
1.9 2002/03/24 09:47:05 dion Exp $
   
  - * $Revision: 1.8 $
  + * $Revision: 1.9 $
   
  - * $Date: 2002/03/24 09:16:11 $
  + * $Date: 2002/03/24 09:47:05 $
   
    *
   
  @@ -160,7 +160,7 @@
   
    * @author Gregor Rażman
   
  - * @version $Revision: 1.8 $ $Date: 2002/03/24 09:16:11 $
  + * @version $Revision: 1.9 $ $Date: 2002/03/24 09:47:05 $
   
    */
   
  @@ -1054,79 +1054,50 @@
   
   
           // We rely on the fact that for any given java class or
  -
           // primtitive type there is a unqiue Class object, so
  -
           // we can use object equivalence in the comparisons.
   
           if (a == b) {
  -
               return true;
  -
           }
   
           if (a == null || b == null) {
  -
               return false;
  -
           }
   
           for (Class x = a; x != null; x = x.getSuperclass()) {
  -
               if (x == b) {
  -
                   return true;
  -
               }
   
               if (b.isInterface()) {
  -
                   Class interfaces[] = x.getInterfaces();
  -
                   for (int i = 0; i < interfaces.length; i++) {
  -
                       if (isSubclass(interfaces[i], b)) {
  -
                           return true;
  -
                       }
  -
                   }
  -
               }
  -
           }
   
           return false;
  -
  -
       }
   
   
       /**
  -
        * Return true iff the given method throws the given exception.
  -
        */
   
       private boolean throwsException(Method method, Class exception) {
   
  -
           Class exs[] = method.getExceptionTypes();
  -
           for (int i = 0; i < exs.length; i++) {
  -
               if (exs[i] == exception) {
  -
                   return true;
  -
               }
  -
           }
   
           return false;
  -
  -
       }
   
   
  
  
  

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


Mime
View raw message