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 BasicDynaBean.java
Date Fri, 25 Oct 2002 00:15:50 GMT
dion        2002/10/24 17:15:50

  Modified:    beanutils/src/java/org/apache/commons/beanutils
                        BasicDynaBean.java
  Log:
  Removed unused code.
  All tests pass using maven test
  
  Revision  Changes    Path
  1.6       +4 -10     jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/BasicDynaBean.java
  
  Index: BasicDynaBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/beanutils/src/java/org/apache/commons/beanutils/BasicDynaBean.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- BasicDynaBean.java	23 Jan 2002 22:35:58 -0000	1.5
  +++ BasicDynaBean.java	25 Oct 2002 00:15:50 -0000	1.6
  @@ -131,7 +131,6 @@
        */
       public boolean contains(String name, String key) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object value = values.get(name);
           if (value == null) {
               throw new NullPointerException
  @@ -209,7 +208,6 @@
        */
       public Object get(String name, int index) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object value = values.get(name);
           if (value == null) {
               throw new NullPointerException
  @@ -240,7 +238,6 @@
        */
       public Object get(String name, String key) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object value = values.get(name);
           if (value == null) {
               throw new NullPointerException
  @@ -279,7 +276,6 @@
        */
       public void remove(String name, String key) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object value = values.get(name);
           if (value == null) {
               throw new NullPointerException
  @@ -345,7 +341,6 @@
        */
       public void set(String name, int index, Object value) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object prop = values.get(name);
           if (prop == null) {
               throw new NullPointerException
  @@ -382,7 +377,6 @@
        */
       public void set(String name, String key, Object value) {
   
  -        DynaProperty descriptor = getDynaProperty(name);
           Object prop = values.get(name);
           if (prop == null) {
               throw new NullPointerException
  
  
  

--
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