mx4j/src/core/javax/management/modelmbean DescriptorSupport.java,1.23,1.24

Simone Bordet <[email protected]>
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/core/javax/management/modelmbean
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17334/src/core/javax/management/modelmbean

Modified Files:
	DescriptorSupport.java 
Log Message:
Cosmetics: clean up of imports and unused variables and code

Index: DescriptorSupport.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/modelmbean/DescriptorSupport.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** DescriptorSupport.java	20 Nov 2003 22:05:59 -0000	1.23
--- DescriptorSupport.java	22 Mar 2004 13:30:31 -0000	1.24
***************
*** 9,22 ****
  package javax.management.modelmbean;
  
! import java.util.Arrays;
! import java.util.HashSet;
! import java.util.Map;
! import java.util.HashMap;
  import java.util.ArrayList;
  import java.util.Iterator;
! import java.util.Set;
! import java.io.ByteArrayInputStream;
[...1116 lines suppressed...]
!             result = (String)value;
!          }
!          else
!          {
!             result = toObjectXMLValueString(k, value);
!          }
!       }
!       return result;
!    }
! 
!    private String toObjectXMLValueString(Class k, Object value)
!    {
!       StringBuffer result = new StringBuffer();
!       result.append("(");
!       result.append(objectClassToID(k));
!       result.append(value.toString());
!       result.append(")");
!       return result.toString();
!    }
  }



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.