Removed deprecated methods from ToStringStyle (setShortClassName + isShortClassName) [LANG-438]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
084cfeed41
commit
6a1996d610
|
@ -1609,17 +1609,6 @@ public abstract class ToStringStyle implements Serializable {
|
||||||
return useShortClassName;
|
return useShortClassName;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Gets whether to output short or long class names.</p>
|
|
||||||
*
|
|
||||||
* @return the current shortClassName flag
|
|
||||||
* @deprecated Use {@link #isUseShortClassName()}
|
|
||||||
* Method will be removed in Commons Lang 3.0.
|
|
||||||
*/
|
|
||||||
protected boolean isShortClassName() {
|
|
||||||
return useShortClassName;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Sets whether to output short or long class names.</p>
|
* <p>Sets whether to output short or long class names.</p>
|
||||||
*
|
*
|
||||||
|
@ -1630,17 +1619,6 @@ public abstract class ToStringStyle implements Serializable {
|
||||||
this.useShortClassName = useShortClassName;
|
this.useShortClassName = useShortClassName;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>Sets whether to output short or long class names.</p>
|
|
||||||
*
|
|
||||||
* @param shortClassName the new shortClassName flag
|
|
||||||
* @deprecated Use {@link #setUseShortClassName(boolean)}
|
|
||||||
* Method will be removed in Commons Lang 3.0.
|
|
||||||
*/
|
|
||||||
protected void setShortClassName(boolean shortClassName) {
|
|
||||||
this.useShortClassName = shortClassName;
|
|
||||||
}
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------
|
//---------------------------------------------------------------------
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue