Better internal names
Javadoc
This commit is contained in:
@@ -1468,12 +1468,12 @@ public abstract class LogFactory {
|
|||||||
* Returns a string that uniquely identifies the specified object, including
|
* Returns a string that uniquely identifies the specified object, including
|
||||||
* its class.
|
* its class.
|
||||||
* <p>
|
* <p>
|
||||||
* The returned string is of form "classname@hashCode", ie is the same as
|
* The returned string is of form "className@hashCode", ie is the same as
|
||||||
* the return value of the Object.toString() method, but works even when
|
* the return value of the Object.toString() method, but works even when
|
||||||
* the specified object's class has overidden the toString method.
|
* the specified object's class has overidden the toString method.
|
||||||
*
|
*
|
||||||
* @param o may be null.
|
* @param o may be null.
|
||||||
* @return a string of form classname@hashCode, or "null" if param o is null.
|
* @return a string of form className@hashCode, or "null" if param o is null.
|
||||||
* @since 1.1
|
* @since 1.1
|
||||||
*/
|
*/
|
||||||
public static String objectId(final Object o) {
|
public static String objectId(final Object o) {
|
||||||
|
|||||||
@@ -1244,13 +1244,13 @@ public class LogFactoryImpl extends LogFactory {
|
|||||||
* present and available for use. Note that this does <i>not</i>
|
* present and available for use. Note that this does <i>not</i>
|
||||||
* affect the future behavior of this class.
|
* affect the future behavior of this class.
|
||||||
*/
|
*/
|
||||||
private boolean isLogLibraryAvailable(final String name, final String classname) {
|
private boolean isLogLibraryAvailable(final String name, final String className) {
|
||||||
if (isDiagnosticsEnabled()) {
|
if (isDiagnosticsEnabled()) {
|
||||||
logDiagnostic("Checking for '" + name + "'.");
|
logDiagnostic("Checking for '" + name + "'.");
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
final Log log = createLogFromClass(
|
final Log log = createLogFromClass(
|
||||||
classname,
|
className,
|
||||||
this.getClass().getName(), // dummy category
|
this.getClass().getName(), // dummy category
|
||||||
false);
|
false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user