rdonkin     2004/05/24 12:56:51

  Modified:    
beanutils/optional/bean-collections/src/java/org/apache/commons/beanutils
                        BeanMap.java
  Log:
  Renamed inner class (to something more sensible)
  
  Revision  Changes    Path
  1.2       +5 -5      
jakarta-commons/beanutils/optional/bean-collections/src/java/org/apache/commons/beanutils/BeanMap.java
  
  Index: BeanMap.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/beanutils/optional/bean-collections/src/java/org/apache/commons/beanutils/BeanMap.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BeanMap.java      11 May 2004 22:46:13 -0000      1.1
  +++ BeanMap.java      24 May 2004 19:56:51 -0000      1.2
  @@ -500,7 +500,7 @@
               public Object next() {
                   Object key = iter.next();
                   Object value = get(key);
  -                return new MyMapEntry( BeanMap.this, key, value );
  +                return new Entry( BeanMap.this, key, value );
               }            
               public void remove() {
                   throw new UnsupportedOperationException( "remove() not supported 
for BeanMap" );
  @@ -643,17 +643,17 @@
       /**
        * Map entry used by [EMAIL PROTECTED] BeanMap}.
        */
  -    protected static class MyMapEntry extends AbstractMapEntry {        
  +    protected static class Entry extends AbstractMapEntry {        
           private BeanMap owner;
           
           /**
  -         * Constructs a new <code>MyMapEntry</code>.
  +         * Constructs a new <code>Entry</code>.
            *
            * @param owner  the BeanMap this entry belongs to
            * @param key  the key for this entry
            * @param value  the value for this entry
            */
  -        protected MyMapEntry( BeanMap owner, Object key, Object value ) {
  +        protected Entry( BeanMap owner, Object key, Object value ) {
               super( key, value );
               this.owner = owner;
           }
  
  
  

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

Reply via email to