-
InterfaceDescriptionUse com.mchange.v2.cmdline.CommandLineUtils insteaduse com.mchange.v1.util.ObjectCacheuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse com.mchange.v2.async.RunnableQueue
-
ClassDescriptionuse com.mchange.v2.io.DirectoryDescentUtils-- use com.mchange.v1.io.InputStreamUtilsuse com.mchange.v1.io.OutputStreamUtilsuse com.mchange.v2.ser.SerializableUtilsuse com.mchange.v1.io.WriterUtilsuse com.mchange.v1.util.ArrayUtilsuse com.mchange.v2.ser.SerializableUtils;use com.mchange.v2.lang.StringUtils (JDK 1.4+)use com.mchange.net.v1.net.SocketUtilsUse com.mchange.v2.cmdline.CommandLineUtils insteaduse com.mchange.v2.c3p0.util.ConectionEventSupportuse com.mchange.v2.c3p0.DriverManagerDataSourceuse com.mchange.v2.sql.SqlUtilsuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse classes in com.mchange.v2.holdersuse com.mchange.v2.ObjectUtils.eqOrBothNull()use com.mchange.v1.resourcepool.AbstractResourcePooluse functions in per-closeable resouce utility classesOops! Doesn't conform to Map equals() / hashCode() contract!use com.mchange.v2.async.SimpleRunnableQueueCarefulRunnableQueue is better.-- please user com.mchange.v2.io.IndentedWriter-- Use of WeakHashMap can't properly guarantee counts with equality semantics, as an Object can be encounted garbage collected, then re-encountered with no apparent history. Clients should explicit choose the semantics they want via WeakEqualityEncounterCounter or StrongEqualityEncounterCounteruse WeakIdentityEncounterCounter (name changed to emphasize for library users that they need to understand whether implementations are weak or strong to avoid accidental reference retention in strong counters)delete menesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr. Oops.
-
ExceptionsDescriptionuse com.mchange.v2.ser.UnsupportedVersionExceptionjdk 1.4 mow includes this idea as part of the standard Throwable/Exception classes.
-
MethodDescriptionprefer unsignedPromote(...)use the various toString(T[] methods)use allText(Element elem)use allText(Element elem, boolean trim)use Element.getAttribute(String val)use immediateChildrenByTagName( Element parent, String tagName )use uniqueChild(Element elem, String childTagName)use uniqueImmediateChild(Element elem, String childTagName)Please use the MConfig facade class to acquire configurationPlease use the MConfig facade class to acquire configurationuse writePropertyVariableuse writePropertyVariableambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"ambiguous between "one dot zero" and "ten"ambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"ambiguous between "one dot x" and "x"use setOverrideCutoffLevel(...)stick to common denominator logging through MLog facadestick to common denominator logging through MLog facadestick to common denominator logging through MLog facadestick to common denominator logging through MLog facadestick to common denominator logging through MLog facadestick to common denominator logging through MLog facadestick to common denominator logging through MLog facadestick to common denominator logging through MLog facadestick to common denominator logging through MLog facadestick to common denominator logging through MLog facadestick to common denominator logging through MLog facadenesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr. Oops.nesting references seemed useful until I realized that references are Serializable and can be stored in a BinaryRefAddr. Oops.use SerialializableUtils.fromByteArray() [shorter name is better!]use SerialializableUtils.toByteArray() [shorter name is better!]