Deprecated API


Contents
Deprecated Interfaces
com.mchange.util.CommandLineParser
          Use com.mchange.v2.cmdline.CommandLineUtils instead 
com.mchange.util.ObjectCache
          use com.mchange.v1.util.ObjectCache 
com.mchange.v1.util.RunnableQueue
          use com.mchange.v2.async.RunnableQueue 
com.mchange.v1.lang.holders.ThreadSafeBooleanHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.ThreadSafeByteHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.ThreadSafeCharHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.ThreadSafeDoubleHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.ThreadSafeFloatHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.ThreadSafeIntHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.ThreadSafeLongHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.ThreadSafeShortHolder
          use classes in com.mchange.v2.holders 
 

Deprecated Classes
com.mchange.v1.util.AbstractResourcePool
          use com.mchange.v1.resourcepool.AbstractResourcePool 
com.mchange.lang.ArrayUtils
          use com.mchange.v1.util.ArrayUtils 
com.mchange.v1.util.CleanupUtils
          use functions in per-closeable resouce utility classes 
com.mchange.util.impl.CommandLineParserImpl
          Use com.mchange.v2.cmdline.CommandLineUtils instead 
com.mchange.v1.db.sql.ConnectionEventSupport
          use com.mchange.v2.c3p0.util.ConectionEventSupport 
com.mchange.io.impl.DirectoryDescendingFileFinderImpl
          use com.mchange.v2.io.DirectoryDescentUtils 
com.mchange.v1.db.sql.DriverManagerDataSource
          use com.mchange.v2.c3p0.DriverManagerDataSource 
com.mchange.v2.codegen.IndentedWriter
          -- please user com.mchange.v2.io.IndentedWriter 
com.mchange.io.InputStreamUtils
          -- use com.mchange.v1.io.InputStreamUtils 
com.mchange.v1.util.MapUtils
          Oops! Doesn't conform to Map equals() / hashCode() contract! 
com.mchange.v1.lang.NullUtils
          use com.mchange.v2.ObjectUtils.eqOrBothNull() 
com.mchange.lang.ObjectUtils
          use com.mchange.v2.ser.SerializableUtils; 
com.mchange.io.OutputStreamUtils
          use com.mchange.v1.io.OutputStreamUtils 
com.mchange.v2.naming.ReferenceableUtils.ExtractRec
          nesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr. Oops. 
com.mchange.io.SerializableUtils
          use com.mchange.v2.ser.SerializableUtils 
com.mchange.v1.util.SimpleRunnableQueue
          use com.mchange.v2.async.SimpleRunnableQueue 
com.mchange.v2.async.SimpleRunnableQueue
          CarefulRunnableQueue is better. 
com.mchange.v1.db.sql.SqlUtils
          use com.mchange.v2.sql.SqlUtils 
com.mchange.lang.StringUtils
          use com.mchange.v2.lang.StringUtils (JDK 1.4+) 
com.mchange.v1.lang.holders.SynchronizedBooleanHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.SynchronizedByteHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.SynchronizedCharHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.SynchronizedDoubleHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.SynchronizedFloatHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.SynchronizedIntHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.SynchronizedLongHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.SynchronizedShortHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.VolatileBooleanHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.VolatileByteHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.VolatileCharHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.VolatileFloatHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.VolatileIntHolder
          use classes in com.mchange.v2.holders 
com.mchange.v1.lang.holders.VolatileShortHolder
          use classes in com.mchange.v2.holders 
com.mchange.io.WriterUtils
          use com.mchange.v1.io.WriterUtils 
 

Deprecated Exceptions
com.mchange.lang.PotentiallySecondaryException
          jdk 1.4 mow includes this idea as part of the standard Throwable/Exception classes. 
com.mchange.io.UnsupportedVersionException
          use com.mchange.v2.ser.UnsupportedVersionException 
 

Deprecated Methods
com.mchange.v1.xml.DomParseUtils.allTextFromElement(Element)
          use allText(Element elem) 
com.mchange.v1.xml.DomParseUtils.allTextFromElement(Element, boolean)
          use allText(Element elem, boolean trim) 
com.mchange.v2.naming.ReferenceableUtils.appendToReference(Reference, Reference)
          nesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr. Oops. 
com.mchange.v1.xml.DomParseUtils.attrValFromElement(Element, String)
          use Element.getAttribute(String val) 
com.mchange.v2.ser.SerializableUtils.deserializeFromByteArray(byte[])
          use SerialializableUtils.fromByteArray() [shorter name is better!] 
com.mchange.v2.naming.ReferenceableUtils.extractNestedReference(Reference, int)
          nesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr. Oops. 
com.mchange.v1.xml.DomParseUtils.getImmediateChildElementsByTagName(Element, String)
          use immediateChildrenByTagName( Element parent, String tagName ) 
com.mchange.v2.ser.SerializableUtils.serializeToByteArray(Object)
          use SerialializableUtils.toByteArray() [shorter name is better!] 
com.mchange.v1.util.ArrayUtils.stringifyContents(Object[])
          use the various toString(T[] methods) 
com.mchange.v1.xml.DomParseUtils.uniqueChildByTagName(Element, String)
          use uniqueChild(Element elem, String childTagName) 
com.mchange.v1.xml.DomParseUtils.uniqueImmediateChildByTagName(Element, String)
          use uniqueImmediateChild(Element elem, String childTagName) 
com.mchange.v2.codegen.bean.SimplePropertyBeanGenerator.writePropertyMember(Property)
            
com.mchange.v2.codegen.bean.BeangenUtils.writePropertyMember(Property, IndentedWriter)
          use writePropertyVariable 
com.mchange.v2.codegen.bean.BeangenUtils.writePropertyMember(Property, String, IndentedWriter)
          use writePropertyVariable 
com.mchange.v2.codegen.bean.SimplePropertyBeanGenerator.writePropertyMembers()
            
 

Deprecated Constructors
com.mchange.v1.util.UnexpectedException(Throwable, String)